github解决hexo d命令出错error: 推送一些引用到 '[email protected]:xxxx.github.io.git' 失败

error: 推送一些引用到 '[email protected]: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: 推送一些引用到 '[email protected]:xxxxgithub.io.git' 失败

上面是错误代码,

解决:

打开设置,找到Emails

github解决hexo d命令出错error: 推送一些引用到 'git@github.com:xxxx.github.io.git' 失败_第1张图片

把这一项勾掉

 

github解决hexo d命令出错error: 推送一些引用到 'git@github.com:xxxx.github.io.git' 失败_第2张图片

然后就行了

你可能感兴趣的:(常见问题)