克隆所有分支

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

 

posted @ 2017-12-11 17:18  sunniejs  阅读(133)  评论(0编辑  收藏  举报