几种hexo d
时出现SpawnFailed
错误的解决方法
个人博客地址:小豆同学的个人站 (douzaixue.github.io)
解决方法零:重!新!电!脑!(´。_。`)
解决方法一:
1
2
3# 第一个就是你的邮箱,第二个就是你的用户名
git config --global user.email "2673065011@qq.com"
git config --global user.name "210173313"解决方法二:
1
2
3
4
5
6# 删除.deploy_git文件夹,输入:
git config --global core.autocrlf false
# 然后,依次执行:
hexo clean
hexo g
hexo d解决方法三:
1
2
3
4
5
6
7
8
9# 打开_config.yml配置文件,修改以下内容
deploy:
type: 'git'
repo: https://github.com/yourname/yourname.github.io.git
branch: master
# 其中的repo修改为
repo: git@github.com:yourname/yourname.github.io.git
本文作者:
小豆同学
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!
版权声明: 本作品采用 知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 进行许可。转载请注明出处!