Why doesn't `git clone` clone all the branches?

This question already has an answer here:

  • How to clone all remote branches in Git? 32 answers

  • git branch only shows local branches by default; use git branch -r to see remote branches or git branch -a to see all. git clone only creates one local branch, master by default, which tracks (again, by default) the master branch on the remote repository.

    链接地址: http://www.djcxy.com/p/4430.html

    上一篇: 我如何获得所有分支机构的git存储库的全部内容?

    下一篇: 为什么`git clone`克隆所有分支?