SSH添加到GitHub

1
2
git config --global user.name "yourname"
git config --global user.email "youremail"

yourname输入你的GitHub用户名,youremail输入你GitHub的邮箱

检查一下你有没有输对
1
2
git config user.name
git config user.email
然后创建SSH
1
ssh-keygen -t rsa -C "youremail"
hexo部署到GitHub

修改站点 _config.yml

1
2
3
4
deploy:
type: git
repo: https://github.com/账户名/账户名.github.io.git
branch: master
安装deploy-git
1
npm install hexo-deployer-git --save
然后
1
2
3
hexo clean
hexo g
hexo d

source中创建一个名为CNAME文件写入域名

原作者

1
https://blog.csdn.net/sinat_37781304/article/details/82729029

hexo

安装软件0
. 点击安装软件0(上方)—已失效
. 完整11111
. f             
. f-             
. _p             
. 测试一下
. 记录笔记
. 还是不知道
. 不太完整
. 看看就知道了
. 看看就知道了
. 只是测试