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

前端 未结 4 996
野趣味
野趣味 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:04

    Adding to the answer by @kirelagin :

    Not always you need to do git rm. Sometimes, it's merely a typo in your .gitmodules. Here I made a few snapshots and commentaries on how SourceTree Git might lose track of submodules.

提交回复
热议问题