git clone 某一特定分支<轉>


網上搜索自己想要的答案,往往會搜大一大堆感覺沒用的,或者看不懂的東西,

最好終於找到了想要答案,特記錄一下:

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

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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM