Skip to content

Instantly share code, notes, and snippets.

@lenada
Forked from gusano/gist:5336265
Last active December 15, 2015 22:59
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 lenada/5336736 to your computer and use it in GitHub Desktop.
Save lenada/5336736 to your computer and use it in GitHub Desktop.
delete merged git branches
git branch --merged | grep -v "\*" | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment