klonová vetva git
git clone --single-branch --branch <branchname> <remote-repo>
klon git z konkrétnej vetvy
git clone -b branchName repoUrl
Ako môžem klonovať konkrétnu vetvu v git
git clone -b <your_branchname> <your_git-remote-repo>
git klon špecifické vetvy
git clone --single-branch --branch <branchname> <remote-repo>
# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
iba klonovať špecifickú vetvu git
git clone -b mybranch --single-branch git://sub.domain.com/repo.git
klon špecifickej vetvy git
git clone -b <branch> <remote_repo>
git clone -b my-branch [email protected]:user/myproject.git