How to embed a hash, tag or branch name?
- From
Mikko Rapeli <mikko.rapeli@iki.fi>
- Date
- Jul 31, 2009, 08:17 UTC
- Message-ID
- <20090731081723.GE29909@nalle>
How do I embed a hash, tag or branch name into source code managed by git?
I've tried searching the net, git manuals etc but haven't found a replacement for the old '$Id: $' strings from svn. What I need is a way to map compiled binaries and flash images to git tree heads, tags and branches.
Thanks,
-Mikko