CTAN Comprehensive TeX Archive Network

gitver – Get the current git hash of a project and typeset it in the document

This package will get a description of the current git version of the document and store it in a command \gitVer. If memoir or fancyhdr are in use, it will also add this to the document footers unless the option “noheader” is passed.

The package also defines a command \versionBox which outputs a box containing the version and date of compilation.

The package requires hyperref, catchfile, pdftexcmds, and datetime.

Bug trackerhttps://github.com/charlesbaynham/gitver/issues
Version1.4 2022-07-16
LicensesThe Project Public License 1.3c
Copyright2019–2022 Charles Baynham
MaintainerCharles Baynham
Contained inTeX Live as gitver
MiKTeX as gitver
TopicsDocument Management
Version control
Experimental 3

Download the contents of this package in one zip archive (140.4k).

Community Comments



Here you can see a respective diagram in newer browsers.


Package Links

Guest Book Sitemap Contact Contact Author