Answers for "git clone branch"

32

git clone 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
3

how do i clone a specific branch in git

git clone -b <your_branchname> <your_git-remote-repo>
Posted by: Guest on June-26-2020
3

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

git clone specific branch only

git clone -b mybranch --single-branch git://sub.domain.com/repo.git
Posted by: Guest on December-14-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 "Shell/Bash"

Browse Popular Code Answers by Language