Skip to content

Instantly share code, notes, and snippets.

@jmcneese
Created July 12, 2011 16:30
Show Gist options
  • Save jmcneese/1078359 to your computer and use it in GitHub Desktop.
Save jmcneese/1078359 to your computer and use it in GitHub Desktop.
git checkout integration;for branch in `git branch --merged | grep -v master | grep -v integration`; do git branch -d $branch && git push origin :$branch; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment