- 使用
hexo d上传博客时出现以下两种错误 :
fatal: unable to access 'https://github.com/xxx/xxx.github.io/': The requested URL returned error: 403
或者
fatal: unable to access 'https://github.com/xxx/xxx.github.io/': OpenSSL SSL_read: Connection was reset, errno 10054
解决办法:将_config.yml文件中的http链接修改成ssh的链接
deploy:
type: 'git'
repo: git@github.com:xxx/xxx.github.io.git
branch: main
- 若还出现以下错误:
remote: error: GH007: Your push would publish a private email address.
将GitHub的 setting --> emails --> Keep my email addresses private勾选取消。
最后
以上就是失眠果汁最近收集整理的关于hexo d推送到远端失败的全部内容,更多相关hexo内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复