Answers for "how to clone the git repository branch"

47

clone specific branch

git clone --single-branch --branch <branchname> <remote-repo>
Posted by: Guest on April-02-2020
2

git clone specific branch

git clone --single-branch --branch <branchname> <remote-repo>

# eg
git clone -b opencv-2.4 --single-branch https://github.com/Itseez/opencv.git
Posted by: Guest on October-22-2020

Code answers related to "how to clone the git repository branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language