I took a look and you used jekyll 框架,的话, 上传到 github 不应该用 blog 目录, xxx.github.io 才是替代你的 blog for the existence of the directory. The reason why there is no response is because the path is wrong, and of course it cannot be found.
First of all, chenge.github.io does not need to build a gh-page branch. Projects named according to "username.github.io" are automatically regarded as page pages. gh-page is a fork of page for other projects.
The directory format is incorrect. There is no need to create a new blog folder. The contents of the blog folder should be placed under Chenge.github.io.
The reason why only "Hi" is displayed is because the compilation was successful before, but after changing to "Hi 3", the compilation failed and the compilation failed. The content of the original "Hi" is still in the _site directory, so only the content before modification is displayed. You can check your mailbox to see if there is a compilation failure email sent to you by github.
The reason for local success is probably to run jekyll serve directly in the blog directory... Of course it is possible.
Change your project name to chenge.github.com so that the code under master will be built by default.
Or push your blog program to the gh-pages branch of chenge.github.io and it will be built.
Refer to my blog: https://github.com/panxw/panxw.github.com
I took a look and you used
jekyll
框架,的话, 上传到github
不应该用blog
目录, xxx.github.io 才是替代你的blog
for the existence of the directory. The reason why there is no response is because the path is wrong, and of course it cannot be found.Change your project name to chenge.github.com so that the code under master will be built by default.
Or push your blog program to the gh-pages branch of chenge.github.io and it will be built.
Refer to my blog: https://github.com/panxw/panxw.github.com
225932282 Q group solves all git github worries