Skip to content

Instantly share code, notes, and snippets.

@mshirdel
Created June 12, 2016 07:30
Show Gist options
  • Save mshirdel/d5cde1b5ae22e3eee37d9c5fd29f2582 to your computer and use it in GitHub Desktop.
Save mshirdel/d5cde1b5ae22e3eee37d9c5fd29f2582 to your computer and use it in GitHub Desktop.
To delete a local branch
git branch -d the_local_branch
To remove a remote branch (if you know what you are doing!)
git push origin :the_remote_branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment