Skip to content

Instantly share code, notes, and snippets.

@boywijnmaalen
Last active April 9, 2018 05:14
Show Gist options
  • Save boywijnmaalen/4711d764dd54d9b09cf8 to your computer and use it in GitHub Desktop.
Save boywijnmaalen/4711d764dd54d9b09cf8 to your computer and use it in GitHub Desktop.
Git Commandos
# how to retrieve the hash for the current commit in Git?
$ git rev-parse HEAD
# how do I delete a tag from a Git repo?
$ git tag -d release01
$ git push origin :refs/tags/release01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment