方法1、修改配置
- 打开博客主目录配置文件
__config.yml - 修改
deploy.repo为如下格式:git@github.com:{用户名}/{用户名}.github.io
- 重新执行
hexo cleanhexo ghexo d
方法2、删除.deplot_git文件夹
- 删除
.deplot_git文件夹 - git bash 中
git config --global core.autocrlf false - 重新执行
hexo cleanhexo ghexo d