Why GitHub pages on [username].github.io won't show?

拥有回忆 提交于 2019-12-03 20:41:47

The documentation mentions:

If you generated a User Pages site, the code lives in the master branch instead of the gh-pages branch.

In your case, you might want to create and push a master branch.

git checkout -b master
git push -u origin master

Update August 2016: Simpler GitHub Pages publishing now allows to keep your page files in a subfolder of the same branch (no more gh-pages needed):

That means project pages can now also live on master.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!