Answers for "how to git clone branch"

58

clone specific branch

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

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
1

github clone branch

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

clone specific branch git

clone specefic branch in git
git clone --single-branch --branch <branchname> <remote-repo>
Posted by: Guest on May-04-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language