git push <remote> :<remote_branch>
in my case
git push origin :membership_processing
Deletes the membership_processing branch on origin (remote)
Yuji's Increasingly Infrequent Ramblings
git push <remote> :<remote_branch>
in my case
git push origin :membership_processing
Deletes the membership_processing branch on origin (remote)
Thank you for your tip. I was trying to do something like:
git branch -d origin/membership_processing
But it didn’t work. Your tip worked perfectly!
Thank you for the tip!
Thanks.Very useful ๐
Yes, indeed — it is useful ๐
Hi, Yuji.
Can you describe fully what happens on ‘git push origin :membership_processing’
Case.. as i know.. git push will update project on your remote repo with your commit(-s).
Thanks in advance.
it updates remote branch with nothing. so it is removed
Thanks … very useful
Thanks.
It’s a shortcut for
git push origin –delete BRANCH_NAME
git branch -rd origin/branchtodelete
(r as remote)