拉取了仓库之后,我们发现默认是把master分支给拉取了下来。可以使用 git clone http://xxxxxxxxxxxxx.git -b [brach-name]的方式将指定分支的代码克隆下来 参考文章:git clone指定分支