Skip to content

Instantly share code, notes, and snippets.

@naranjja
Created January 20, 2017 20:28
Show Gist options
  • Save naranjja/697a351f44a0fbc7a8b6c4451ca70237 to your computer and use it in GitHub Desktop.
Save naranjja/697a351f44a0fbc7a8b6c4451ca70237 to your computer and use it in GitHub Desktop.
Delete Git branch locally and remotely
# delete local branch
git branch -d the_local_branch
# delete 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