2

hexo | hexo d 失败后的另类上传

 7 months ago
source link: https://benpaodewoniu.github.io/2024/02/01/hexo38/
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

hexo | hexo d 失败后的另类上传

2024-02-01hexo

3 0

由于特殊原因,我将主仓库删除。

然后,想要把数据重新上传。

但是。通过 hexo d 怎么都失败。可能是我博客数目太大了,2G,所以,hexo d 传不了这么大。

所以,最后采用了 git 的方式传递。

当我们执行 hexo g 的时候,其实是生成 public 文件夹,咱们只要把这个文件夹上传就行。

所以,在 blog 外面,我创建了 blog_web 文件夹。

进入 blog_web

先执行 cp -r ../blog/public/* ./

然后 git push 就好了。(关于初始化 git 等操作这里不再说明)

请我喝杯咖啡吧~

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK