After the project is deployed to github page, why can only access the master branch but not the files of the gh-page branch?

after deploying the project to github page with the gh-pages tool run deploy, the access to "username.github.io/project-name" has always been 404, but it is possible to use the domain name of username.github.io to access the files of the master branch, and the index.html file also exists in the gh-page branch. What"s the matter with the gods?
Project address: Link description
GitHub Pages address: Link description


A short tutorial I wrote http://jsoncode.github.io/sta.


  1. on the home page of the project warehouse, click Setting
  2. find GitHub Pages column
  3. find the Source title, click the drop-down box below, and switch master to gh-pages .
  4. done
official documents
< hr >

update, seems to have misread the problem, is some other project want to visit, right? Then your project should also be configured with GitHub Pages , not that any project can be accessed through < username > .github.io / < project-name > .

is off by default, so you need to check

manually.

clipboard.png

Menu