Skip to content

Instantly share code, notes, and snippets.

@vgrafe
vgrafe / Remove all git tags
Created April 12, 2018 13:47 — forked from okunishinishi/Remove all git tags
Delete all git remote tags
#Delete local tags.
git tag -l | xargs git tag -d
#Fetch remote tags.
git fetch
#Delete remote tags.
git tag -l | xargs -n 1 git push --delete origin
#Delete local tasg.
git tag -l | xargs git tag -d