Answers for "how to clone diffrent branches git clone"

58

clone specific branch

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

git how to make shallow clone with all branches

git clone --depth 10 --no-single-branch https://github.com/django/django.git
Posted by: Guest on October-25-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language