If you use tags with your Git repositories you know that sometimes it makes sense to remove/delete these tags. Below are samples of removing both local and remote tags from your Git repo.

Delete Tag from Local Repository

git tag -d <tag name>

Delete Tag from Remote Repository (e.g. GitHub)

git push origin :refs/tags/<tag name>

Leave a Reply

How to Remove Tags from a Git Repository