Git 存储库未更新 github.io 内容

Git repo not updating github.io content

Git 这里是新手。已在 Whosebug 中搜索此内容,但没有匹配项。

过去 8 周我一直在 committing/pushing 我的档案。然而这周好像出了问题

也尝试过备份和删除各种文件夹并重新克隆。推送成功,但 github.io 站点仍然没有更新。

我做错了什么?

您在 github.com/alice-tlr/alice-tlr.github.io are nested git repo recorded as gitlink, a special entry in the index of the repo 中尝试更新的文件夹。

gitlink 只是另一个存储库的 SHA1,正如您的 commit bcc3d31 所说明的那样:

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

他们永远不会直接包含文件。

你可以.
它们仍然是 gitlinks,意味着仍然是一个灰色文件夹,但是这次,GitHub page can fetch their content and display it(提供那些子模块引用 public 存储库)

一个实际的子模块是:

  • 一个 gitlink(一个 SHA1)
  • 一个url(也就是目前缺失的部分)

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