git submodule add时报错:【already exists in the index】

git submodule add 时明明已经删了文件但是还提示【already exists in the index】时因为git的缓存导致的,需要删除缓存的文件夹即可 $ git submodule add git@g***ml.git'autotest' already exists in
posted @ 2022-05-06 18:12  深藏blueblueblue  阅读(2536)  评论(0编辑  收藏  举报