hexo问题笔记
hexo问题笔记
themes同步不上github
2021年7月22日
————
从暂存区删除该文件夹
1 | git rm --cache themes/主题文件名 |
————
把 themes/hexo-theme-icarus/.git文件夹到放到位置 比方说桌面
记得把 themes/hexo-theme-icarus/.gitignore里的 _config去掉
————
git status查看当前状态
————
按步骤提交
1 | git add . |
————
再把刚刚的.git文件夹移动回去
————
https://blog.csdn.net/liaoweilin0529/article/details/113650333
Hexo主题themes-文件夹无法提交到GitHub的解决方法_ 沉默憨憨-CSDN博客
hexo阿里云OSS一键部署
2021年7月23日
在您的hexo项目目录下执行:
1 | npm install hexo-deployer-ali-oss --save |
在hexo项目配置文件_config.yml中添加如下部署配置:
1 | deploy: |
就这么简单 然后执行
1 | hexo d |
http://werty.cn/2019/06/hexo/hexo-deployer-ali-oss部署器使用说明
hexo阿里云OSS一键部署工具hexo-deployer-ali-oss使用说明 | 猿宵
and
阿里云OSS部署Hexo教程 https://zhuanlan.zhihu.com/p/350760097