Delete a remote branch in git

We use Git here at interviewstreet. Using Git, branching, testing and reverting is so easy.

Almost all commands are simple and easy to remember in Git, except for deleting a remote branch.

The command to delete a remote branch “feature1″ is

git push origin :feature1

Just wanted to note this down.

One thought on “Delete a remote branch in git

Leave a Reply

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


+ four = 9

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=""> <strike> <strong>