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.
To delete a local git tag simply run the "git tag" command with the -d option and tag name. To know the tag name you can run the "git tag" command with the -l option to list all tags, identify the tag you want to delete.
Install the gem, then run "git sync-local-tags" in your repository to delete the local tags that do not exist on the remote.
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
Of course, you still have to delete the tag locally by running:
git tag -d TAGNAME
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With