What do you think? Discuss, post comments, or ask questions at the end of this article [More about me]

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Current »

Deleting a local branch is pretty straight forward - but what about deleting its remote branch?

To do this simply execute the following from git bash:

git push <remote> --delete <branch>

Where <remote> is the remote repo (e.g. origin etc.) and <branch> is the name of the remote branch to delete.



  • No labels