标签(空格分隔): git
git branch -r | grep -v ‘\->‘ | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
git branch | grep "ywf*" | xargs git push origin --delete
git branch | grep "ywf*" | xargs git branch -D
原文:https://www.cnblogs.com/yanweifeng/p/15069969.html