How to delete a git tag

2019 - 08 - 28


Delete remote tags

$ git push origin :tag_name

# or to be more precise

git push --delete origin tag_name

# or if there's a branch with the same name

git push --delete origin :refs/tag/tag_name

Delete local tags

git tag --delete tag_name


Previous Shebang Node
Next 005 Make Zsh Macos Default