push declined due to email privacy restrictions github推送失败

 狼丶宇先生   2018-03-12 22:30   862 人阅读  0 条评论


$ git push origin master

Counting objects: 251, done.

Delta compression using up to 8 threads.

Compressing objects: 100% (238/238), done.

Writing objects: 100% (251/251), 12.20 MiB | 132.00 KiB/s, done.

Total 251 (delta 13), reused 0 (delta 0)

remote: Resolving deltas: 100% (13/13), done.

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 https://github.com/langyuxiansheng/MyProject.git

 ! [remote rejected] master -> master (push declined due to email privacy restrictions)

error: failed to push some refs to 'https://github.com/langyuxiansheng/MyProject.git'


_CN7I({9B_RLFV@C1IQQ1@C.png



[OWM%T}F%(BR]~PXTF8XX`V.png


就是图中的红圈部分,去掉就可以了。


2Q0[2OV$F@L6_IEX4WW}K~C.png

这样子就可以正常推送了。


(8)45$CAL3`(~PG4H6}JA[K.png

本文地址:http://hao2013.cn/?id=44
版权声明:本文为原创文章,版权归 狼丶宇先生 所有,欢迎分享本文,转载请保留出处!