Skip to content
Create a gist now

Instantly share code, notes, and snippets.

tagcommit alias. Pass it a tag name, it gives you a commit hash. From: http://stackoverflow.com/a/1863712/23341
[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
Something went wrong with that request. Please try again.