danhumphrey89
1/4/2017 - 2:53 PM

To delete all local branches that are already merged into the currently checked out branch:

To delete all local branches that are already merged into the currently checked out branch:

git branch --merged | egrep -v "(^\*|master|dev)" | xargs git branch -d