Created
April 6, 2016 15:05
-
-
Save dedeibel/ad22cbb912d1be5093688293945ebd2a to your computer and use it in GitHub Desktop.
Simply get some git info of the current commit to include in your app
This file contains hidden or 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
#!/usr/bin/env bash | |
git log -1 --format='format:git.hash="%H" | |
git.date="%ci" | |
git.ref="%d"' > include.git.conf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment