Last active
September 28, 2018 19:27
-
-
Save hisplan/bf45c25cdf0cdc0ff34485c8888084aa to your computer and use it in GitHub Desktop.
git last commit hash
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 ls-remote https://github.com/......... HEAD | cut -f1 | |
0a033196ee92e75f94a8dd27c97d6b882210103e | |
$ git show -s --format=%H | |
0a033196ee92e75f94a8dd27c97d6b882210103e | |
$ git show -s --format=%h | |
0a03319 | |
$ git rev-parse HEAD | |
0a033196ee92e75f94a8dd27c97d6b882210103e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment