raoenhui / raoenhui.github.io

前端妹子的博客blog
https://raoenhui.github.io
46 stars 3 forks source link

请教一下jekyll的文件怎么同步到仓库? #41

Closed nenge123 closed 1 year ago

nenge123 commented 2 years ago

纯小白,希望给个完整教程~

raoenhui commented 2 years ago

同步到哪个仓库呢,不是很理解问题点

nenge123 commented 2 years ago

同步到哪个仓库呢,不是很理解问题点

我在本地弄了一个wsl ubuntun, 安装了jekyll。 那么写好的东西,怎么可以一键的同步到自己的仓库,然后用github pages浏览

raoenhui commented 2 years ago

直接提交代码到git上就好,github pages会自动拿仓库中的代码显示

nenge123 commented 2 years ago

有代码教程吗?

直接提交代码到git上就好,github pages会自动拿仓库中的代码显示

raoenhui commented 2 years ago

关于github pages站点创建文档,网上很多,官网很清晰https://pages.github.com,我这边就不重复写教程了

nenge123 commented 2 years ago

image

总算搞懂了~

github pages 唯一缺点是好像有时候来大姨妈,链接不上! 不过真不错的免费存放空间~

raoenhui commented 2 years ago

nenge123 commented 2 years ago

太容易手贱 git push 更新出错, 尝试输了git pull结果文件全没了~太蛋疼了 还好有备份~