search

Home  >  Q&A  >  body text

用github创建个人页面为什么不能显示自己写的代码出现的效果

将代码上传到github中去 创建个人网站 为什么出来的是默认的版本 而不是自己写的代码的页面

世界只因有你世界只因有你2766 days ago682

reply all(4)I'll reply

  • 淡淡烟草味

    淡淡烟草味2017-05-02 09:32:50

    The questioner didn’t provide the page either, so it took me a long time to find it

    This is what I’m talking about: http://zyxhaha.github.io/time/

    Go and take a look at the repo yourself. Your index.html is still the default page of github

    Blame yourself →_→ㄟ(▔ ,▔)ㄏ


    Providing the scene of the accident is a sign of respect for others

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:32:50

    Have you set the default branch? When uploading gh-page using git, it needs to be uploaded to the gh-pages branch. Note that there is an s here, and the default html file is index. html is OK, give it a try, I wish you success

    reply
    0
  • 巴扎黑

    巴扎黑2017-05-02 09:32:50

    Because what you modified is not the content of the gh-page branch

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-02 09:32:50

    用hexo.io

    reply
    0
  • Cancelreply