Skip to content

Instantly share code, notes, and snippets.

@kaning
Created July 17, 2015 14:31
Show Gist options
  • Save kaning/cd1037707f90d7a238f8 to your computer and use it in GitHub Desktop.
Save kaning/cd1037707f90d7a238f8 to your computer and use it in GitHub Desktop.
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