Skip to content

Instantly share code, notes, and snippets.

@inceax
Created November 24, 2015 10:55
Show Gist options
  • Save inceax/a1c7404aae5454191e40 to your computer and use it in GitHub Desktop.
Save inceax/a1c7404aae5454191e40 to your computer and use it in GitHub Desktop.
git branch --merged | grep -v "\*" | grep -v master | grep -v dev | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment