放小自己,放大格局.|

vlson

园龄:8年3个月粉丝:18关注:7

📂Git
2022-03-17 14:02阅读: 149评论: 0推荐: 0

【转】git 从远程仓库获取所有分支

git branch -r | grep -v '\->' | while read remote; do git branch --track "${remote#origin/}" "$remote"; done
git fetch --all
git pull --all

原文:https://www.cnblogs.com/lpt1229/p/5979688.html

链接:http://stackoverflow.com/questions/10312521/how-to-fetch-all-git-branches

本文作者:vlson

本文链接:https://www.cnblogs.com/wxdblog/p/16016952.html

版权声明:本作品采用知识共享署名-非商业性使用-禁止演绎 2.5 中国大陆许可协议进行许可。

posted @   vlson  阅读(149)  评论(0编辑  收藏  举报
点击右上角即可分享
微信分享提示
评论
收藏
关注
推荐
深色
回顶
收起
  1. 1 404 not found REOL
404 not found - REOL
00:00 / 00:00
An audio error has occurred.