我是靠谱客的博主 失眠果汁,这篇文章主要介绍hexo d推送到远端失败,现在分享给大家,希望可以做个参考。

  1. 使用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
  1. 若还出现以下错误:
remote: error: GH007: Your push would publish a private email address.

将GitHub的 setting --> emails --> Keep my email addresses private勾选取消。

最后

以上就是失眠果汁最近收集整理的关于hexo d推送到远端失败的全部内容,更多相关hexo内容请搜索靠谱客的其他文章。

本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
点赞(109)

评论列表共有 0 条评论

立即
投稿
返回
顶部