Skip to content

Instantly share code, notes, and snippets.

@juankiz
Created June 5, 2015 22:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save juankiz/04b1094e44f61818d915 to your computer and use it in GitHub Desktop.
Save juankiz/04b1094e44f61818d915 to your computer and use it in GitHub Desktop.
Delete merged 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