Skip to content

Instantly share code, notes, and snippets.

@marcosricardoss
Last active March 4, 2021 14:35
Show Gist options
  • Save marcosricardoss/0687f50579a0066aec208c78b81e0eae to your computer and use it in GitHub Desktop.
Save marcosricardoss/0687f50579a0066aec208c78b81e0eae to your computer and use it in GitHub Desktop.
How to remove all git remote and local tags
# Delete All local tags. (Optional Recommended)
git tag -d $(git tag -l)
# Fetch remote All tags. (Optional Recommended)
git fetch
# Delete All remote tags.
git push origin --delete $(git tag -l)
# Delete All 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