Skip to content

Instantly share code, notes, and snippets.

View niteshpurohit's full-sized avatar

Nitesh Purohit niteshpurohit

View GitHub Profile
@niteshpurohit
niteshpurohit / Remove all git tags
Created May 18, 2017 09:27 — 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