.gitmodule中没有为非子模块的路径找到子模块映射

本文翻译自:No submodule mapping found in .gitmodule for a path that's not a submodule

I have a project that has a submodule at lib/three20 我有一个项目,在lib/three20有一个子模块

My .gitmodule file looks like this: 我的.gitmodule文件如下所示:

[submodule "lib/three20"]
    path = lib/three20
    url = git://github.com/facebook/three20.git

I have cloned this in the past without errors, ( git submodule init followed by a git submodule update ) and it's been working for a while. 我在过去克隆了这个没有错误,( git submodule init后跟git submodule update )并且它已经工作了一段时间。

I tried to clone this to a new machine, and now I'm getting this error on git submodule init : 我试图将其克隆到一台新机器,现在我在git submodule init上收到此错误:

No submodule mapping found in .gitmodules for path 'Classes/Support/Three20'

That path is just an empty folder in Xcode that I use to house the projects from the other directory. 该路径只是Xcode中的一个空文件夹,用于存放其他目录中的项目。 It's not part of the .gitmodules file, so I don't see where it's getting this path from. 它不是.gitmodules文件的一部分,所以我看不到它从哪里获得这

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值