所以我在这里按照本指南创建一个Github页面
我创建了一个存储库,将其克隆到我的项目目录并推送,最后进入最后一步:
Fire up a browser and go to http://username.github.io. Give it a couple of minutes for your page to show up—there will be a delay this very first time. In the future, changes will show up pretty much instantly.
我的Github回购链接是这样的:https: //github.com/leongaban/gabanco
所以我假设我的Github页面链接是:http:
//leongaban.gabanco.github.io/
要么
http://leongaban.github.io/
但是目前这两个链接都没有工作:(
有人在创建Github页面吗?最终我想试试Jekyll.
我不确定该网站是否需要一些时间才能显示,但是在推送我的主分支后我得到了404错误...然后我在repo的设置中更改了我的'主题'.突然间它开始工作了!config.yml
出现了一个带有主题元数据的文件.
如果您具有正确的存储库名称并且仍然遇到404错误,则解决方案可能是推送到存储库.
这对我有用.推后它立即出现.
将项目名称重命名为yourusername@github.com
.which在文档中提及
此存储库必须使用username/username.github.io命名方案.
编辑:
您只能为User或Org Pages存储库使用您自己的帐户名.像joe/bob.github.io这样的存储库不会构建Pages.
正确命名您的存储库,如第一步所述:
转到GitHub并创建一个名为username.github.io的新存储库 ,其中username是您在GitHub上的用户名(或组织名称).