Skip to content

Instantly share code, notes, and snippets.

@arnaudmolo
Created February 18, 2016 13:13
Show Gist options
  • Save arnaudmolo/7a069f482e30c8d0b8ba to your computer and use it in GitHub Desktop.
Save arnaudmolo/7a069f482e30c8d0b8ba 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