配置HEXO
HEXO安装
安装nodejs
| 1 | 安装nodejs:去https://nodejs.org/en/ 下载安装 | 
Git登陆
| 1 | git config --global user.name "你的GitHub用户名" | 
cmd - SOCKS5 代理设置
set http_proxy=socks5://127.0.0.1:7891
set https_proxy=socks5://127.0.0.1:7891
Git代理
git config –global http.proxy socks5://127.0.0.1:7891
git config –global https.proxy socks5://127.0.0.1:7891
HEXO上传到github
| 1 | git add . | 
从GitHub恢复HEXO
| 1 | 从GitHub拉取: | 
| 1 | cd GitHubname.github.io.git | 
Git bash依次执行下列指令:
npm install hexo
npm install
npm install hexo-deployer-git