My new Github page isn't showing up

后端 未结 24 2241
臣服心动
臣服心动 2021-01-31 08:04

So I\'m following this guide here to create a Github page

I created a repository, cloned it to my project directory and pushed, finally got to this last step:

         


        
相关标签:
24条回答
  • 2021-01-31 08:30

    The solution that solved the 404 error page was to change the Branch from Master to gt-pages

    0 讨论(0)
  • 2021-01-31 08:31

    If you have the correct repository name and you still get a 404 error a solution might be to push to the repository.

    This is what worked for me. After the push it showed up instantly.

    0 讨论(0)
  • 2021-01-31 08:32

    In my case it happened because i had my index.html file inside a folder from a main branch. For it to work you must have a file index.html directly just inside your first repositories not in any folders or sub-folders inside it. That's it.

    0 讨论(0)
  • 2021-01-31 08:34

    For me the second commit directly shown my Github page. This is very useful.

    0 讨论(0)
  • 2021-01-31 08:34

    Turns out I had an error in my html file "No newline at end of file". Once I fixed this problem and did another Commit and Push, it worked.

    0 讨论(0)
  • 2021-01-31 08:34

    go to project settings, and scroll down, find the github pages section. it might say you haven't choose a source. i chose one, and wait for 2 minutes, then it works.

    0 讨论(0)
提交回复
热议问题