Jean-Marc Lasgouttes <lasgout...@lyx.org> writes: | Le 31/10/2012 16:41, Kornel Benko a écrit : >> git log -1 --format="%H %ci" > | Or simply | git log -1 --format="%h" > | What I do not know is where to put such code so that it is always up | to date. This should replace the date for development releases.
Hmm... git describe is usually used for things like this. -- Lgb