Git Delete Tags Local Remote Repositories

By admin ·
1

Delete tag from a remote Git repository

As of Git 1.7.0 you can use git push --delete to delete a remote branch or tag.

git push --delete  

In most cases, the remote name is origin, so you’ll use:

git push --delete origin 
2

Delete tag from a local Git repository

Deleting a tag from your local repository is easy:

git tag -d 

So, git tag -a adds a tag, and git tag -d deletes a tag.