I see, learn and rediscover… everyday!
 
Delete a remote branch in git

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 comment

Leave a Reply to Vatsala Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.