Skip to content

Instantly share code, notes, and snippets.

@scottnath
Created March 4, 2015 22:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottnath/e8029389409bb592b235 to your computer and use it in GitHub Desktop.
Save scottnath/e8029389409bb592b235 to your computer and use it in GitHub Desktop.
git: delete local/remote branches

delete local

git branch -d name-of-branch

delete remote - NOTE: powerful!

git push origin :name-of-branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment