hexo多设备同步
PC1
https://github.com/username/username.github.io
new branch→hexo
settings→general→default branch→hexo
git clone git@github.com:username/username.github.io.git
删除.git以外所有文件
跟新删除操作到远程
1 | |
分支.git复制到博客文件夹中
博客文件夹中同步到远程hexo分支
1 | |
PC2
git clone git@github.com:username/username.github.io.git
进到目录
1 | |
新建或修改文章
1 | |
推送文章后
Error:Spawn failed
删除文件夹内.deploy_git
1 | |
博客目录下
1 | |
新的操作以后在另外一台电脑上更新
1 | |
hexo多设备同步
http://example.com/2025/05/28/hexo-multipe-devices-sync/