【问题标题】:AWS CodeCommit Submodule Blob doesn't ExistAWS CodeCommit 子模块 Blob 不存在
【发布时间】:2019-05-30 16:11:53
【问题描述】:

我有一个带有子模块的 CodeCommit 存储库。该子模块是 CodeCommit 中的另一个存储库。

当我尝试从父 repo 中查看子模块中的内容时,我收到一条错误消息:

AWS CodeCommit could not find the blob

知道问题可能是什么吗?

【问题讨论】:

    标签: git git-submodules aws-codecommit


    【解决方案1】:

    这通常意味着第一个 CodeCommit 存储库正在引用第二个存储库树的 SHA1,...第二个存储库尚未将其推送到 CodeCommit。

    您可以看到 SHA1(在第一个 repo 的本地克隆中)with git ls-tree master <path-to-directory-containing-submodule>。
    见“How to find commit by SHA of a submodule?”。

    您需要确保第二个 repo(作为第一个 repo 的子模块的那个)已经推送了 SHA1。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-12-22
      • 2020-06-03
      • 1970-01-01
      • 2018-06-07
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-01-23
      相关资源
      最近更新 更多