Last Updated: February 25, 2016
·
325
· achluky

Delete a branch (local or remote) on GIT

To delete a local branch

git branch -d thelocalbranch</pre>

To remove a remote branch (if you know what you are doing!)

git push origin :theremotebranch</pre>