How to delete a tag in GIT?

You create a tag in GIT, accidentally pushed it into remote repository. But after some time you understood that you don't want it. So, how can you remove a tag in GIT?

You can do this easily by:
git tag -d NAME_OF_YOUR_BAD_TAG
git push origin :refs/tags/NAME_OF_YOUR_BAD_TAG

The first command deletes this tag from your local repository, the second - from remote repository.

Komentarai

This transfer may also assist you to know how they answer issues and requests about different facets of the
device.

Komentuoti