My new Github page isn't showing up

后端 未结 24 2204
臣服心动
臣服心动 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:46

    Use the GitHub user name in the repository name first part. Wait 2 minutes after adding your age. Use google webmaster search console to verify the page you created in GitHub pages.

    rahul-inspired-iosdeveloper.github.io
    
    0 讨论(0)
  • 2021-01-31 08:46

    Just do not panic and rename your GitHub Repository and view your page it gets uploaded and you can rename it to original name then after.

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

    One other datapoint: check your branch.

    When you create a new repo, the default branch is "main". The branch required for the GitHub page is "master".

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

    I had the same problem. I think first you need to check out if YOUR Github Pages have been enabled. This you can check out from "setting". Then change whatever html web site from"github.com/username/repo1/repo2/repo3.../blob/master/file.html"

    to "username.github.io/repo1/repo2/repo3.../file.html" .

    Then have a try. Good luck.

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

    Name your repository correctly, as stated in the first step:

    Head over to GitHub and create a new repository named username.github.io, where username is your username (or organization name) on GitHub.

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

    In my case I had the correct repository name and still got a 404 error. Then I found this answer, so I made a change and pushed again. This time the changes from my first push showed up. So I waited for a while and then few minutes later, the changes from my second pushed showed up. It might just be the case that changes are not visible instantaneously.

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