Skip to content

Instantly share code, notes, and snippets.

@nav16
Created November 28, 2016 06:01
Show Gist options
  • Select an option

  • Save nav16/8e8f2adcac1abb5cd1bee8761b00eaeb to your computer and use it in GitHub Desktop.

Select an option

Save nav16/8e8f2adcac1abb5cd1bee8761b00eaeb 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