Git repo没有更新github.io内容

时间:2016-11-25 23:25:09

标签: git github git-submodules

Git新手在这里。已搜索过Stackoverflow但没有匹配。

我过去8周一直在提交/推送我的文件。然而本周似乎出了问题。

还试过备份&删除各种文件夹并重新克隆。推送成功但github.io网站仍未更新。

我做错了什么?

1 个答案:

答案 0 :(得分:0)

您尝试在github.com/alice-tlr/alice-tlr.github.io中更新的文件夹是嵌套git repo ,记录为 gitlink special entry in the index of the repo。< / p>

gitlink只是另一个仓库的SHA1,正如您的commit bcc3d31所示:

gitlink update

这些是您在GitHub仓库中看到的灰色文件夹。

github with nested repos

他们不会直接包含文件。

您可以 transform them as full-fledged submodules 它们仍然是gitlinks,意思是灰色文件夹,但这一次,GitHub page can fetch their content and display it(假设这些子模块引用 public 存储库)

实际的子模块是:

  • gitlink(SHA1)
  • 网址(当前缺少的部分)

请注意,您也可以remove the nested git repo and add directly its content if you want

相关问题