Skip to content

Instantly share code, notes, and snippets.

@DarkArc
Created September 7, 2016 20:38
Show Gist options
  • Save DarkArc/fbf19e685f7733fab561b24fb7992501 to your computer and use it in GitHub Desktop.
Save DarkArc/fbf19e685f7733fab561b24fb7992501 to your computer and use it in GitHub Desktop.
Cleanup Git Branch Cruft
git checkout master && git branch --merged | grep -v master | xargs git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment