Feb 22 2012

How to remove a remote branch on Git

A common task on a git working workflow is:

  • Branch for a new development
  • Merge branch with master
  • Delete branch

Deleting a branch is quite simple:

git push <remote> :<remote_branch>

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>