<![CDATA[

Here’s a simple command line technique for deleting a remote branch in git.  This is nice to use to help clean up any remote branches that may be orphaned or obsolete.

This assumes the remote name of your repository is origin and the name of the branch you want to delete is orphan_branch.

$ git push origin --delete orphan_branch

Quick and easy.  I hope this was helpful.  If you have questions about git please feel free to post them in the comments below or contact me directly.

I would be happy to help.

]]>

Leave a Reply

Close Menu
×
×

Cart

%d bloggers like this: