Skip to content

Instantly share code, notes, and snippets.

@deadkarma
Last active August 29, 2015 14:02
Show Gist options
  • Save deadkarma/15f8f099b49c207067b6 to your computer and use it in GitHub Desktop.
Save deadkarma/15f8f099b49c207067b6 to your computer and use it in GitHub Desktop.
Remove all 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