Skip to content

Instantly share code, notes, and snippets.

@patrickcousins
Created January 18, 2016 23:09
Show Gist options
  • Save patrickcousins/309c86727da03bdc3904 to your computer and use it in GitHub Desktop.
Save patrickcousins/309c86727da03bdc3904 to your computer and use it in GitHub Desktop.
git branch --merged | grep -v '\*\|master\|develop' | xargs -n 1 git branch -d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment