Skip to content

Instantly share code, notes, and snippets.

@jbodah
Created November 11, 2014 15:41
Show Gist options
  • Save jbodah/daab6a907b1c0e226e17 to your computer and use it in GitHub Desktop.
Save jbodah/daab6a907b1c0e226e17 to your computer and use it in GitHub Desktop.
clean up 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