GIT delete local tag and a remote tag

To tag test, for example, this tag has been synchronized to a remote, but now discovered a problem and needs to withdraw the tag, git command is as follows:

Delete local tag:

git tag -d test

Delete remote tag:

git push origin :refs/tags/test

Guess you like

Origin www.cnblogs.com/puzi0315/p/11956890.html