iOS SourceTree报错No submodule mapping found in .gitmodules for path 'xxx'

在用sourceTree拉取服务器的代码的时候,如果报以下错误,可用下方方法解决。

No submodule mapping found in .gitmodules for path 'xxxxxx'

解决办法:

1.   CD 到工程目录下
2.  git rm --cached  xxxxxx
3. 使用sourceTree再次拉取代码

你可能感兴趣的:(iOS SourceTree报错No submodule mapping found in .gitmodules for path 'xxx')