Answers for "clone branch of repo"

47

clone specific branch

git clone --single-branch --branch <branchname> <remote-repo>
Posted by: Guest on April-02-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
-1

clone a git branch

$ git clone -b <branch> <remote_repo>
Posted by: Guest on June-16-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language