代码之家  ›  专栏  ›  技术社区  ›  khelll

git子模块错误

  •  2
  • khelll  · 技术社区  · 16 年前

    fatal: cannot read object aab1ca8db3ab8f1508db42220f9badc7b62dd4aa 'vendor/plugins/simple_stuff': It is a submodule!
    

    git pull vendor/plugins/simple_stuff

    1 回复  |  直到 16 年前
        1
  •  1
  •   VonC    16 年前

    阅读“ git submodules gotcha

     $ git pull -s resolve
    

    (“解析”合并策略可能能够避免该消息)
    (有人可能已经重新组织了源代码并定义了一个子模块,将其推送到您现在试图从中提取的远程仓库)