Skip to content

Instantly share code, notes, and snippets.

@okunishinishi
Created March 8, 2014 03:12
Show Gist options
  • Save okunishinishi/9424779 to your computer and use it in GitHub Desktop.
Save okunishinishi/9424779 to your computer and use it in GitHub Desktop.
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
@Somfic
Copy link

Somfic commented Jun 20, 2024

Worked wonders thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment