我的GitHub页面不会更新其内容 [英] My GitHub page won't update its content

查看:114
本文介绍了我的GitHub页面不会更新其内容的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直遵循以下说明: http://joshualande.com/jekyll-github -pages-poole /



到目前为止,我创建了本地仓库并将其推送到GitHub,但是,无论我做什么改变,我都可以看到它在我的回购GitHub但不是在我的GitHub页面。这是怎么回事? 页面,GitHub页面页面丢失或没有更新。即使我对分支进行了更多更改并重新推送,它也不会在GitHub页面上更新。



如果我没有记错,我通过删除分支从服务器再次推送:

  git push origin:gh-pages 
git push origin gh-pages

我可能需要添加一些虚拟提交并再次触发更新,我不记得确切...

I've been following this instructions: http://joshualande.com/jekyll-github-pages-poole/

So far I've created the local repo and pushed it to GitHub, but, whatever change I do, I can see it in my repo at GitHub but NOT in my GitHub page. How is that possible?

解决方案

Sometimes this happens to me too: after creating and pushing the gh-pages, the GitHub Pages page is missing or not getting updated. Even if I commit more changes to the branch and push it again, it won't update on GitHub pages.

If I remember correctly, I solve this by deleting the branch from the server and pushing it again:

git push origin :gh-pages
git push origin gh-pages

I might have to add some dummy commits and push again to trigger the update, I don't remember exactly...

这篇关于我的GitHub页面不会更新其内容的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆