Created
January 30, 2024 17:41
-
-
Save tomschall/a923f15d063cf1f60061abc280e6986c to your computer and use it in GitHub Desktop.
Git - Delete Tags
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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