delete tag code example
Example 1: remove git tag
# Add tags
git tag tagName
# Push tags
git push --follow-tags
# Delete locally
git tag -d tagName
# Delete remote tag:
git tag -d tagName
git push origin :tagName
Example 2: delete git tag remote
git push --delete origin tagname
Example 3: how to delete a tag
# delete local tag (on your PC)
git tag -d "tag_name"
# delete remote tag (on server)
git push --delete origin "tag_name"