ryanwelcher
4/22/2019 - 4:10 PM

Remove local branchs that don't have remote

git branch -r | awk '{print $1}' | egrep -v -f /dev/fd/0 <(git branch -vv | grep origin) | awk '{print $1}' | xargs git branch -D