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

Source: https://stackoverflow.com/a/5480292

Previous Shebang Node
Home
Next 005 Make Zsh Macos Default