Git Short Hash in TeamCity
![Git Short Hash in TeamCity](/media/1001/350px-git-dag-git-o.png?center=0.36140350877192984,0.54571428571428571&mode=crop&width=344&height=188&rnd=131286874790000000)
Stamping assemblies with some form of version number is incredibly useful when trying to tie a binary back to it's source code commit. When using standard centralised source control systems this is a relatively simple process as each commit has an incremental change set number generated by the server and TeamCity exposes this as an internal variable %build.vcs.number%, but with distributed version control systems this is a little more complicated.