How do you remove a tag from a remote repository

Is it possible to untag a revision that has been push upstream using git.

This is what has happened:

 git tag 1.1
 git push --tags origin master

Doh! That was meant to be version 1.1beta

Can you rebase and repush upstream. No other member of my team has pulled from origin yet.


You can delete a remote tag the same way that you delete a remote branch.

git push origin :1.1

And delete your local tag with:

git tag -d 1.1

git push --delete origin TAGNAME

当然,您仍然需要通过运行以下方式在本地删除标签:

git tag -d TAGNAME
链接地址: http://www.djcxy.com/p/49282.html

上一篇: git标签删除和重新

下一篇: 如何从远程存储库中删除标签