My new Github page isn't showing up

I'm not sure if the site just needed some time to show up, but I was getting a 404 error after pushing my master branch... Then I changed my 'theme' in the repo's settings. All of a sudden it started working! A file called config.yml appeared with the theme metadata.


Rename your repository to <yourusername>.github.io as explained in the documentation.

To publish a user site, you must create a repository owned by your user account that's named <user>.github.io.

Edit: You can only use your own account name for a User or Org Pages repository. A repository like joe/bob.github.io will not build Pages.


Try to push an empty commit and refresh the page. It should work.

git commit --allow-empty -m "Trigger rebuild"
git push