Friday, 19 June 2015

Git: Deleting Local/Remote Branch

To delete a local branch
git branch -d the_local_branch
 
To remove a remote branch
git push origin :the_remote_branch



source: http://makandracards.com/makandra/621-git-delete-a-branch-local-or-remote

No comments:

Post a Comment