submodules专题

error: pathspec ‘src/submodules/xxx‘ did not match any file(s) known to git问题解决

背景:旧项目框架拷贝一份到新项目,更新子仓库报错 公司开一个新项目,从就框架拷贝一份到新项目,项目中用到了子仓库,结果在运行命令时报错 error: pathspec 'src/submodules/awesome-web-components' did not match any file(s) known to git 旧项目运行好好地,更新也没有问题,排查了下,可能跟.gitmodu

The submodules were not downloaded! Please update submodules with “git submodule update --init“|简记

安装 ncnn 遇到的一个小 bug 记录 执行的命令为: cmake -DCMAKE_BUILD_TYPE=Release -DNCNN_VULKAN=ON .. 报错如下: CMake Error at CMakeLists.txt:195 (message):The submodules were not downloaded! Please update submodul