Skip to content

Instantly share code, notes, and snippets.

@tnine
Created July 15, 2011 00:25
Show Gist options
  • Save tnine/1083797 to your computer and use it in GitHub Desktop.
Save tnine/1083797 to your computer and use it in GitHub Desktop.
Remove all tags from local and remote git. USE WITH CAUTION!
for TAG in $(git tag -l); do git tag -d $TAG && git push origin :refs/tags/$TAG ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment