1. 程式人生 > >github解決hexo d命令出錯error: 推送一些引用到 '[email&

github解決hexo d命令出錯error: 推送一些引用到 '[email&

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

把這一項勾掉

 

然後就行了