fatal: 不是 git 仓库(或者任何父目录):.git
Linux系统下 git submodule update --init --recursive 下载失败
问题描述:
Linux系统下使用 git submodule update --init --recursive 指令下载 submodule 时报错: fatal: 不是 git 仓库(或者任何父目录):.git
解决方法:
先执行指令 git init
初始化 git 仓库,再执行 git submodule update --init --recursive
指令即可。