Answers for "clone whole repository with branches git"

47

git clone branch

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

how to clone repo with all branches

$ git branch -a
* master
  remotes/origin/HEAD
  remotes/origin/master
  remotes/origin/v1.0-stable
  remotes/origin/experimental
Posted by: Guest on May-29-2021

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language