Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New post and site 404 #24

Closed
stormycloudy opened this issue Aug 14, 2020 · 4 comments
Closed

New post and site 404 #24

stormycloudy opened this issue Aug 14, 2020 · 4 comments

Comments

@stormycloudy
Copy link

Hi Alan!

我已经使用这个repo来维护自己的站点有一段时间了。很好用!非常感谢!
我之前一直是fork这个repo然后自己做些更改然后post博客。然后之前突然意识到我并不会pull request upstream让你merge,所以以为从你的original repo detach开来是一个更好的选择(?)结果我detach之后,发现在src里加文章,整个站子都404了。请问有什么我可以做吗?我对branch和fork不太熟,不好意思。
谢谢!

@AlanDecode
Copy link
Owner

fork 了之后其实就跟原仓库没啥关系了,不必再进行别的什么操作。你那边可能是没有开启 pages 服务,去仓库设置里看看。

@stormycloudy
Copy link
Author

stormycloudy commented Aug 14, 2020

fork 了之后其实就跟原仓库没啥关系了,不必再进行别的什么操作。你那边可能是没有开启 pages 服务,去仓库设置里看看。

我发现detach之后page building自动变成source branch了,换成gh-pages branch之后网页出现了,然而最近的几篇blog都消失了,只剩第一次initial push的一篇。我确认pages 服务是开启的。

@AlanDecode
Copy link
Owner

你应该换成 master 分支,而不是 gh-pages。

@stormycloudy
Copy link
Author

你应该换成 master 分支,而不是 gh-pages。

试过了,可以了!谢谢您!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants