Skip to content

Instantly share code, notes, and snippets.

@jonathanconway
Last active December 17, 2015 20:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jonathanconway/5667042 to your computer and use it in GitHub Desktop.
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
[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