How do I remove or delete a tag from a Git repo?
You can use the
git tag command to put a permanent marker on a specific commit. Later, you can use the tag to compare the tagged commit to other, future commits in the future. When you push to your Bitbucket Cloud remote repository, the tag goes along.
Removing a Tag
For example, if you have created a tag called
release01 in a Git repository you would remove it from your repository by doing the following:
$ git tag -d release01
$ git push origin :refs/tags/release01
To remove one from a Mercurial repository:
$ hg tag --remove featurefoo
Was this helpful?
Thanks for your feedback!