Skip to content

Instantly share code, notes, and snippets.

@shanaver
Created February 17, 2011 22:53
Show Gist options
  • Save shanaver/832919 to your computer and use it in GitHub Desktop.
Save shanaver/832919 to your computer and use it in GitHub Desktop.
git delete remote branch
to delete the remote branch named branch_tobe_deleted:
git push origin :branch_tobe_deleted
to delete your local copy of that branch:
git branch -d branch_tobe_deleted
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment