gitz
gitz copied to clipboard
Remove all local branches with no remote
@paulcallahan writes:
Also, how about removing all local branches with no remote? what I use now:
git fetch --all -p; git branch -vv | grep ": gone]" | awk '{ print $1 }' | xargs -n 1 git branch -D