Git repo不更新github.io内容 [英] Git repo not updating github.io content

查看:266
本文介绍了Git repo不更新github.io内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Git新手在这里。已经在此搜索了Stackoverflow,但没有任何匹配。



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




  • 我的git回购(

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





    他们不会直接包含文件。



    您可以 将它们转换为完整的子模块

    它们仍然是gitlinks,这仍然是一个灰色文件夹,但是这一次, GitHub页面可以获取他们的内容并显示它(假设这些子模块引用了 public em> repositories)



    一个实际的子模块是:

    $ ul

  • 一个gitlink SHA1)

  • 网址(即目前缺少的部分)



请注意,您也可以删除嵌套的git仓库并直接添加其内容


Git newbie here. Have searched Stackoverflow for this but nothing matches.

I have been committing/pushing my files for the last 8 weeks. However this week it seems to have gone wrong.

Have also tried backing up & the deleting various folders and re-cloning. The push is successful but still the github.io site doesn't update.

What am I doing wrong?

解决方案

The folders you are trying to update in github.com/alice-tlr/alice-tlr.github.io are nested git repo recorded as gitlink, a special entry in the index of the repo.

A gitlink is just a SHA1 of another repo, as your commit bcc3d31 illustrate:

Those are the gray folder you see in your GitHub repo.

They won't ever include files directly.

You can transform them as full-fledged submodules.
They will still be gitlinks, meaning still a gray folder, but this time, GitHub page can fetch their content and display it (provided those submodules reference public repositories)

An actual submodule is:

  • a gitlink (a SHA1)
  • an url (that is the part which is missing currently)

Note that you can also remove the nested git repo and add directly its content if you want.

这篇关于Git repo不更新github.io内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆