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

版权声明: https://blog.csdn.net/sudo0m/article/details/83067345

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

把这一项勾掉

然后就行了

猜你喜欢

转载自blog.csdn.net/sudo0m/article/details/83067345