Wednesday, April 22, 2015

Git - Delete a branch from local OR remote


Delete a branch from local OR remote


To remove a local branch from your machine:
git branch -d the_local_branch
To remove a remote branch from the server:
git push origin :the_remote_branch

No comments:

Post a Comment