Skip to content

Instantly share code, notes, and snippets.

@xarimanx
Created December 9, 2015 13:51
Script to delete all tags both locally and remotely
for t in `git tag`
do
git push origin :$t
git tag -d $t
done
# and for local
for t in `git tag`
do
git tag -d $t
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment