In our project, we switched from SVN to git. The versioning scheme was <major>.<minor>.<patch>.<revision>.
For continuity, I wanted to keep this scheme, by getting the equivalent of the SVN revision via git rev-list --count HEAD.
Is there a variable in GitVersion I can use for this? Or can this command be invoked in some other way when using GitVersionTask?