How to remove GIT tag locally and remotelly?

tag git remote origin

While it is not recommended, in some cases tag needs to be removed from repository. First of all tag need to be removed from local repository. Then we need to instruct remote repository to remove tag too.

Removing GIT tag locally:

git tag -d tag-name
For example:
git tag -d 1.2.59

Removing tag from remote repository:

git push origin :tag-name

Notice the colon : before tag name.

For example:
git push origin :1.2.59