Answers for "how to clone a repository on a different branch"

47

clone specific branch

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

how to git clone a specific branch

# Using gh CLI

gh repo clone <username>/<reponame> -- -b <branchname>
Posted by: Guest on April-17-2021

Code answers related to "how to clone a repository on a different branch"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language