No submodule mapping found in .gitmodules

I got a problem <p /><div style="margin-left:40px;">**No submodule mapping found in .gitmodules for path &#039;OtherLibrary/MKStore&#039;**

when

$ git submodule update –init

I didn't know why the error occur. After spending a minute and found the answer in stackoverflow.

$ git rm –cached OtherLibrary/MKStore

and then update the submodule again. It's working fine.

comments powered byDisqus