Answers for "what is the git clone command to clone a specific branch"

47

clone specific branch

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

clone from a specific branch

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

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language