git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all
原创文章,转载请注明:转载自Web开发笔记 | Git 获取远程所有分支
本文链接地址:https://www.magentonotes.com/git-fetch-all-remote-branch.html
Comments on this entry are closed.