Answers for "how to clone branch other than master"

47

clone specific branch

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

git clone from specific branch

git clone -b branchName repoUrl
Posted by: Guest on December-07-2020

Code answers related to "how to clone branch other than master"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language