Last active
March 7, 2018 18:18
-
-
Save derozic/859312bd2e3c59495e67ddcf66e7cf61 to your computer and use it in GitHub Desktop.
Get the latest hash from your latest github.com commit
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
git log -n1 --format="%h" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Useful when seeing if your latest CI build is the same on something like Netlify as your local version.