[ACCEPTED]-Remove or edit an unpushed Git tag-git-tag

Accepted answer
Score: 24

Delete a local tag with

git tag -d tag_name

Delete a remote tag 4 with

git push origin :refs/tags/tag_name

However, the command git tag -m "Tag message" wont work as you 3 aren't supplying a tag name. You may find 2 that you haven't actually created a tag 1 yet

You can list all your tags with

git tag --list

More Related questions