Answers for "clone a specific branch"

32

clone specific branch

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

clone specific branch

In general:

git clone -b <branch> <remote_repo>

Example:

git clone -b develop [email protected]:user/myproject.git
Posted by: Guest on August-03-2020
9

clone from a specific branch

git clone -b <branchName> <remote_repo_url>
Posted by: Guest on November-09-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
0

clone a specific branch

clone a specific branch... 
$ git clone -b <branchName> <clone with HTTPs link>
Posted by: Guest on June-30-2021

Browse Popular Code Answers by Language