Skip to content

Instantly share code, notes, and snippets.

@renatoassis01
Created November 10, 2020 23:50
Show Gist options
  • Save renatoassis01/3d5bea6c17bda9d83aafb19339f93fbd to your computer and use it in GitHub Desktop.
Save renatoassis01/3d5bea6c17bda9d83aafb19339f93fbd to your computer and use it in GitHub Desktop.
delete all tags remote and local
#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