Git tip: Removing remote tags
Johan Vermeulen vr 06 aug 10
Last week I needed to delete some tags from a remote Git repository. You probably won’t need to do this often, but just in case:
If you have a tag called ‘release-1.0.1’ which you would like to delete, this is howto remove it:
git tag -d release-1.0.1 git push origin :refs/tags/release-1.0.1
This will remove the ‘release-1.0.1’ tag from the remote repository.
Gepost in hor | 2 reacties
Welcome to Holland On Rails
This weblog is the official Ruby techblog from the guys at Holder, a Ruby development company. Holder is also the company behind the RubyAndRails Europe Conference in Amsterdam.Recente Jobs
Bekijk alle jobs »»
Gereedschapskist
Onmisbare tools vooriedere developer!
- Ruby On Rails
Framework voor de web 2.0 developer. Eindelijk vooruitgang! - TextMate
Editor for true pro's
Typ, tab, top :-)
Nee, niet voor Win. - Made On A Mac
En nou is het over met die saaie grijze Windows bak van je!
Auteurs op deze site
Chris Obdam
'Less is more' evangelist, past dit ook dagelijks toe op zijn tandenborstel.Chiel Wester
Snelheidswonder op Ruby wielen. Leuk om mee te pair-programmen ;-)
Johan Vermeulen ma 09 aug 10 10:50
I already use GRB to manage my branches, but this article is about delete remote tags, not branches. If it is possible to delete local/remote tags with grb, I stand corrected if I’m wrong.
Chiel Wester vr 06 aug 10 11:25
You can make this a lot easier for yourself by using git_remote_branch.
You can just call grb delete and your remote branch will be deleted.
Plaats je reactie