ThomasBurleson
10/21/2017 - 10:05 PM

How to: Delete a remote Git tag

How to: Delete a remote Git tag

# remove local tag
git tag -d tagname-123
# remove remote tag
git push origin :refs/tags/tagname-123

# delete multiple tags by patterns
for tag in $(git tag -l '[production|tusur]*'); do git tag -d $tag; git push origin :refs/tags/$tag; done