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.


Solution 1:

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

Solution 2:

git push --delete origin TAGNAME

Of course, you still have to delete the tag locally by running:

git tag -d TAGNAME