Answers for "how to clone only a particular branch from github"

58

clone specific branch

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

clone from a specific branch

git clone -b <branchName> <remote_repo_url>
Posted by: Guest on November-09-2020
6

clone a given branch github

git clone --single-branch --branch <branch> <repository>
Posted by: Guest on April-28-2020
4

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
1

clone project from specific branch

git clone -b <branchname> <remote-repo-url>
Posted by: Guest on January-14-2022

Code answers related to "how to clone only a particular branch from github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language