Answers for "how do you get branches when clone from a repo from github"

6

clone a given branch github

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

github clone branch

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

Code answers related to "how do you get branches when clone from a repo from github"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language