Skip to content

Instantly share code, notes, and snippets.

@jenkek
Last active August 29, 2015 14:01
Show Gist options
  • Save jenkek/211757a48de7c58219c8 to your computer and use it in GitHub Desktop.
Save jenkek/211757a48de7c58219c8 to your computer and use it in GitHub Desktop.
How to: Delete a local and remote Git branch
git branch -D <name-of-branch>
git branch -d -r origin/<name-of-branch>
git push origin :<name-of-branch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment