网上搜索自己想要的答案,往往会搜大一大堆感觉没用的,或者看不懂的东西,

最好终于找到了想要答案,特记录一下:

==============================================

clone 某个分支:
git clone -b b1 https://github.com/...

clone所有分支
git clone https://github.com/...
git branch -r
* master
  origin/HEAD -> origin/master
  origin/master
  origin/b1
git checkout b1

 

----------------------------------------------------

转帖地址:http://blog.csdn.net/a513322/article/details/46998325

posted on 2017-04-11 17:33  瓦楞球  阅读(10461)  评论(0编辑  收藏  举报