pftg
5/28/2013 - 5:03 PM

Simple command to delete all local branches except selected

Simple command to delete all local branches except selected

git branch | grep -v "master\|staging\|production" | xargs git branch -D