git submodule add时报错:【already exists in the index】
git submodule add 时明明已经删了文件但是还提示【already exists in the index】
【原因】:因为git的缓存导致的,需要删除缓存的文件夹即可
【报错信息】:git submodule add git@g***ml.git'文件名' already exists in the index
【解决方案】: git rm -r --cached 文件名
git submodule add时报错:【already exists in the index】
git submodule add 时明明已经删了文件但是还提示【already exists in the index】
【原因】:因为git的缓存导致的,需要删除缓存的文件夹即可
【报错信息】:git submodule add git@g***ml.git'文件名' already exists in the index
【解决方案】: git rm -r --cached 文件名