pootzko
9/30/2016 - 12:01 PM

Delete all git tags

Delete all git tags

# If git starts complaining about the password for every recursive delete
# https://stackoverflow.com/questions/10032461/git-keeps-asking-me-for-my-ssh-key-passphrase
eval $(ssh-agent)
ssh-add

# To delete remote tags (before deleting local tags) simply do
git tag -l | xargs -n 1 git push --delete origin

# And then delete the local copies
git tag | xargs git tag -d