​welcome to my blog​

问题描述: 默认的克隆方式克隆的是master分支, 现需要克隆指定的分支

解决方法: 执行​​git clone -b 分支名 仓库地址​

其实就是使用-b选项指定分支