Skip to content

Instantly share code, notes, and snippets.

@ducksoupdev
Created November 9, 2019 06:19
Show Gist options
  • Save ducksoupdev/ed089b4f855621748f05bd9af14a8fc8 to your computer and use it in GitHub Desktop.
Save ducksoupdev/ed089b4f855621748f05bd9af14a8fc8 to your computer and use it in GitHub Desktop.
#Delete local tags.
git tag -d $(git tag -l)
#Fetch remote tags.
git fetch
#Delete remote tags.
git push origin --delete $(git tag -l) # Pushing once should be faster than multiple times
#Delete local tags.
git tag -d $(git tag -l)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment