hexo博客迁移
本文最后更新于 2022年1月22日 下午
hexo 博客迁移
- 从原电脑下载源码,删除 node_modules 文件夹,然后重新下载
- 准备好 git 和 node.js,然后进入相应文件夹,用 git 打开,输入如下命令:
1 |
|
- 此时如果使用主题,需要把删除 node_modules 中的主题重新粘贴替换进来,主题文件就正常了。
- 测试,用 hexo s 来看到你的博客是否迁移成功
- 设置 git
1 |
|
- 编辑文章后,hexo d 上传成功即说明迁移成功
hexo博客迁移
https://k3ppf0r.github.io/2022/01/22/杂/hexo博客迁移/