Answers for "how to clone to a new branch in git"

58

clone specific branch

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

clone branch in git

git clone -b <branchname> --single-branch <remote-repo-url>
Posted by: Guest on February-06-2022

Code answers related to "how to clone to a new branch in git"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language