tigrantv
7/17/2018 - 6:47 AM

Remove all local branches which no longer on remote

Remove all local branches which no longer on remote

git fetch -p && for branch in `git branch -vv | grep ': gone]' | awk '{print $1}'`; do git branch -D $branch; done