1. 程式人生 > >Git 如何 clone 非 master 分支的代碼

Git 如何 clone 非 master 分支的代碼

git

1,以前都是這樣

git clone [email protected]:xxxxx.git

技術分享圖片

2,查看分支

#查看遠程分支
git branch -r 
或
#查看所有分支
git branch -a

3,切換分支

git checkout origin/daily/1.4.1


Git 如何 clone 非 master 分支的代碼