更换电脑之后博客迁移操作
开始准备
默认提前安装好git
,nodejs
拷贝必要文件
_config.yml
theme
source
scaffolds
package.json
.gitignore
安装必要环境
1 | npm install hexo-cli -g |
git部署
将默认私钥添加至.ssh
路径
git初始化一下即可
默认提前安装好git
,nodejs
_config.yml
theme
source
scaffolds
package.json
.gitignore
1 | npm install hexo-cli -g |
将默认私钥添加至.ssh
路径
git初始化一下即可