Skip to content

Instantly share code, notes, and snippets.

@doniz
Last active December 15, 2015 10:26
Show Gist options
  • Save doniz/ef6d886817f45bf1f264 to your computer and use it in GitHub Desktop.
Save doniz/ef6d886817f45bf1f264 to your computer and use it in GitHub Desktop.
some git helper
  # add new tag
  git tag -a v1.2 9fceb02 -m "Message here"
  # delete tag localy
  git tag -d v1.2
  # delete tag from remote
  git push origin :refs/tags/v1.2
  # Or, more expressively, --delete option:
  git push --delete origin v1.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment