Skip to content

Instantly share code, notes, and snippets.

@hugoduraes
Last active February 12, 2016 20:10
Show Gist options
  • Save hugoduraes/d617a14f3c2fda39b164 to your computer and use it in GitHub Desktop.
Save hugoduraes/d617a14f3c2fda39b164 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

git push origin :the_remote_branch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment