Answers for "how to clone a specific branch in a git repo"

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
4

how to git clone from a specific branch git

git clone --single-branch --branch master https://github.com/career-karma-tutorials/ck-git
Posted by: Guest on July-13-2021

Code answers related to "how to clone a specific branch in a git repo"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language