New answers tagged


The more general solution to including git metadata in documents is the gitinfo2 package (which supersedes gitinfo that I mentioned in a comment). Having set that up, \gitAbbrevHash gives you a seven character hash. There may be more elegant ways of achieving this, but as a workaround you can use the catchfile package to store the full hash in a macro, ...

Top 50 recent answers are included