Skip to content

Instantly share code, notes, and snippets.

@keithmorris
Created October 2, 2012 01:58
Show Gist options
  • Save keithmorris/3815718 to your computer and use it in GitHub Desktop.
Save keithmorris/3815718 to your computer and use it in GitHub Desktop.
Script to delete git tags both local and remote
for t in `git tag`
do
git push origin :$t
git tag -d $t
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment