Hexo全配置

一键部署:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
cd e:/y1y/x

npm install hexo-deployer-git --save

git config --global user.name "Uneac1"
git config --global user.email "1006849568@qq.com"

npm install

eval $(ssh-agent -s)

ssh-add E:/yil/yy130

git init
git add .

git remote add origin git@github.com:Uneac1/repo.git

hexo clean
hexo generate

git commit -m "RGo1"

本地部署或上传git:

  • 刷新 Hexo:
1
2
3
hexo clean
hexo g
hexo s
  • 生成静态文件并部署:
1
2
3
hexo clean
hexo generate
hexo deploy