Delete a remote branch on git
$ git push origin --delete [branch-name]
or
$ git push origin :[branch-name]
Written by Ciro Nunes
Related protips
3 Responses
An interesting tip to have always in hand, specially now that we'll be using Git full-time :)
over 1 year ago
·
Is described here, BTW: http://git-scm.com/book/en/Git-Branching-Remote-Branches#Deleting-Remote-Branches
over 1 year ago
·
I was JUST looking this up today
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#