我是 github 页面的新手,所以我用一个简单的 index.html 制作了以下 repo
https://github.com/jigneshjain25/jignesh.github.com/blob/gh-pages/index.html
但是 http://jignesh.github.com/仅显示“Hello World”。为什么它不使用我的 index.html 文件?
最佳答案
您不是发布到 master 分支,而是 gh-pages 分支,但您正在尝试部署用户页面。也必须是 http://jigneshjain25.github.com因为那是你的用户名。
https://help.github.com/articles/user-organization-and-project-pages
控制 Hello World 的帐户已正确设置,在这里:
https://github.com/jignesh/jignesh.github.com/blob/master/index.html
关于Github 页面未显示我的 index.html 文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13777567/