Github 页面未显示我的 index.html 文件

标签 github web-hosting github-pages

我是 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/

相关文章:

php - 在 GitHub 上使用 Composer 和 Private Repository 在 Build Server 上使用 VCS

jekyll - 未找到错误 `/'。未找到错误 `/blog/assets/main.css'。

GitHub:将分支映射到 Windows 上的不同本地目录

java - 在网站的 PHP 上执行 *.java 或 *.jar

amazon-web-services - Amazon EC2 如何托管我自己的内容?停留在有一个工作测试 apache 页面上

jekyll - 有没有一种简单的方法可以让 Jekyll 输出文件到文档/目录?

Git:在本地分支中进行编辑,以推送回远程存储库

github - 如何查看Github Pages的部署状态? (特别是:带有Jekyll的项目页面)

version-control - 使用源代码管理时如何隐藏连接字符串、用户名、密码?

linux - 1and1 和简单的 htaccess 重定向失败