No submodule mapping found in .gitmodules for path and missing .gitmodules file

前端 未结 4 959
野趣味
野趣味 2021-02-01 00:44

When I run git submodule init, I get the following error:

No submodule mapping found in .gitmodules for path \'xxx\'

I

4条回答
  •  死守一世寂寞
    2021-02-01 01:10

    1. Make sure that there are no submodule sections in .git/config. If there are, remove them.
    2. Do git rm --cached .

提交回复
热议问题