error: 推送一些引用到 'git@github.com:xxxx.github.io.git' 失败
FATAL Something's wrong. Maybe you can find the solution here: http://hexo.io/docs/troubleshooting.html
Error: Warning: Permanently added the RSA host key for IP address 'xxxx to the list of known hosts.
remote: error: GH007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: http://github.com/settings/emails
To github.com:xxxx.io.git
! [remote rejected] HEAD -> master (push declined due to email privacy restrictions)
error: 推送一些引用到 'git@github.com:xxxxgithub.io.git' 失败
上面是错误代码,
解决:
打开设置,找到Emails

把这一项勾掉

然后就行了
本文详细介绍了如何处理GitHub推送时遇到的私人邮箱问题,通过调整GitHub设置,确保邮件隐私并成功完成远程推送。
1618

被折叠的 条评论
为什么被折叠?



