We are using GIT as a source code repository for our Delphi projects.
Can I get Git Branch ID , Git Revision number, .... each time I compile my apps?
I would like to show these data in some help box
We are using GIT as a source code repository for our Delphi projects.
Can I get Git Branch ID , Git Revision number, .... each time I compile my apps?
I would like to show these data in some help box
Here the answers:
git branch --show-current
git rev-parse HEAD
(NB: the revision number is the last commit hash)