Hexo+github Blog rename the Library Name, and then the Blog Page 404

  git, question

The classmate died and changed the name of github’s own blog warehouse from XXX.github.io to something else and back again.
Then the blog page is 404.
In fact, I don’t know if this is the reason because the blog is still running normally at the original site as shown below the library settings.
In short, it is dead.
I don’t know if there is a solution.

1. Delete the warehouse on github
Gitpushorigin-delete warehouse name
2. Delete the local warehouse name
Gitbrand-d warehouse name
3. Reinitialize git
git init
4. Re-create the warehouse name locally
Git branch warehouse name
5.push to github
Git push origin warehouse name

Update the blog file to github and it will be restored.