search

Home  >  Q&A  >  body text

Why can’t I use GitHub to display the effects of the code I wrote when creating a personal page?

Upload the code to github to create a personal website. Why does the default version come out instead of the page of the code you wrote

世界只因有你世界只因有你2811 days ago705

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