git 子模块错误
收到此错误:
fatal: cannot read object aab1ca8db3ab8f1508db42220f9badc7b62dd4aa 'vendor/plugins/simple_stuff': It is a submodule!
从主存储库执行 git pull 时。 我没有在项目中的任何位置定义任何子模块,但我在 vendor/plugins/simple_stuff
中仍然有另一个存储库。有什么想法吗?
Getting this error:
fatal: cannot read object aab1ca8db3ab8f1508db42220f9badc7b62dd4aa 'vendor/plugins/simple_stuff': It is a submodule!
When doing git pull
from the main repo.
I don't have any submodule defined any where inside my project, still I have another repo inside vendor/plugins/simple_stuff
. Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
阅读“git 子模块陷阱”文章后,您尝试
(“解决”合并策略也许能够避免该消息)
(有人可能已经重新组织了源代码并定义了一个子模块,将其推送到您现在尝试从中提取的远程存储库)
After reading the "git submodules gotcha" article, did you try a
(the 'resolve' merge strategy may be able to avoid that message)
(Someone may have reorganized the sources and define a submodule, pushing it to your remote repo from which you are now trying to pull)