Git 好用命令收集 EricXie 2020-07-15 159 阅读1分钟 拉取所有远程分支git clone xxx git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done git fetch --all git pull --all