解决git clone --recursive部分失败后继续检出代码 在使用如下命令检出Vulkan的时候,发生失败,Vulkan的代码已经成功检出,但是子模块没有完成 $ git clone --recursive https://github.com/SaschaWillems/Vulkan.git 1 $ git clone --recursive https://github.com/SaschaWillems/Vulkan.git 提示的出错信息如下: warning: 克隆成功,但是检出失败。 您可以通过 'git status' 检查哪些已被检出,然后使用命令 'git checkout -f HEAD' 重试 123 warning: 克隆成功,但是检出失败。您可以通过 'git status' 检查哪些已被检出,然后使用命令'git checkout -f HEAD' 重试 可以使用如下命令继续检出子模块: $ git submodule update --init --recursive --progress 1 $ git submodule update --init --recursive --progress 发布者 默默 码农 查看默默的所有文章