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
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
Previous post: Git多帐号操作
Next post: Apache安装SSL证书
Comments on this entry are closed.