为什么我的帖子在使用GIT推送后没有发表?
这里有一个完整的假人...
所以,我们在Github上托管了一个网站,我们使用了Jekyll。现在,一切正常,但是几天前,在推出新帖子之后,我们在网站上什么也没得到……
通常,我们会尽可能多地做:
git add .
git commit -m "initial commit"
git push
一切正常。
在运行git状态后,这就是我们得到的:
On branch master
Your branch is up to date with 'origin/master'
nothing to commit, working tree clean
我们以前收到了相同的消息,因此唯一的更改基本上是网站上没有出现的帖子:(
请帮助!
谢谢!
A complete dummy here...
So, we have a website hosted on Github, and we used Jekyll. Now, everything was working just fine, however, a couple of days ago after pushing new posts we get nothing on the website...
Usually, we do it as following:
git add .
git commit -m "initial commit"
git push
And everything works fine.
After running git status, this is what we get:
On branch master
Your branch is up to date with 'origin/master'
nothing to commit, working tree clean
We got the same message before, so the only change is basically that the posts are not showing up on the website :(
Please help!
Thank you!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
那里
请检查它..
您是否使用github页面?
您想要什么部署样式
there
please check it..
Are you use GitHub pages?
What do u want deploy style
最近面临类似的问题。我的GitHub网站不再显示新帖子。我在本地创建帖子,然后使用Visual Studio代码将其推向GitHub。修复了我的问题,通过在“ _config.yml”文件中制作“编码:UTF-8”大写(之前是“编码:UTF-8”)。推动此更改后,正确显示了新帖子。
更新:最近也注意到,帖子时间戳可能是他们不出现的原因。将需要检查将哪个时区应用于GitHub网站,并将其与我自己的时间进行比较。
Recently faced a similar issue. New posts were no more shown on my GitHub web site. I create posts locally and push them to GitHub using Visual Studio Code. Fixed my issue by making "encoding: UTF-8" uppercase in "_config.yml" file (was "encoding: utf-8" before). Once this change was pushed, new posts were shown correctly.
Update: recently noticed as well that timestamp of posts may be the reason for them to not show up. Will need to check which timezone is applied to GitHub web site and compare it with my own.