Skip to content

GitVersioning

Nerdbank.GitVersioning and the Revision number

Screenshot of various versions returned by the command "nbgv get-version"

I love using the NerdBank.GitVersioning CLI tool nbgv. It completely removes the need to think about an aspect of a project that doesn't add any value to your customers. But today I realized I understood the first three parts of the version produced by nbgv, but the fourth "revision" component was not obvious. Turns out it is a uint16 value of the first two bytes of the commit id!