Created
November 4, 2009 22:04
-
-
Save alecthegeek/226428 to your computer and use it in GitHub Desktop.
Generate build ID in Git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use the output of git log -1 '--pretty=format:%h %ai' (example: "d19611c 2009-10-01 01:58:19 -0400") | |
(from Nikolas Coukouma) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment