Last active
December 17, 2015 20:19
-
-
Save jonathanconway/5667042 to your computer and use it in GitHub Desktop.
tagcommit alias. Pass it a tag name, it gives you a commit hash.
From: http://stackoverflow.com/a/1863712/23341
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
[alias] | |
tagcommit = !sh -c 'git rev-parse --verify $0~0' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment