Git clone a specific branch only
2018-11-07 本文已影响5人
JaedenKil
git clone --single-branch -b branchName remoteRepoName
Which will clones the specific branch and that branch only without cloning all the existing branches.
git clone --single-branch -b branchName remoteRepoName
Which will clones the specific branch and that branch only without cloning all the existing branches.