git push origin --delete $(git tag -l) # Pushing once should be faster than multiple times
Delete All local tags.
git tag -d $(git tag -l)
12
votes
For windows using command prompt:
Deleting local tags:
for /f "tokens=* delims=" %a in ('git tag -l') do git tag -d %a
Deleting remote tags:
for /f "tokens=* delims=" %a in ('git tag -l') do git push --delete origin %a
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more