$ 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'

推送失败出现了以下情况:

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

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

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

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

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

参考:http://hao2013.cn/?id=44 

相关文章:

  • 2022-12-23
  • 2021-12-14
  • 2021-12-25
  • 2021-09-27
  • 2021-05-16
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-10-07
  • 2021-08-09
  • 2021-10-24
  • 2021-11-21
  • 2021-11-25
相关资源
相似解决方案