您的推送会发布私人电子邮件地址错误

您的推送会发布私人电子邮件地址错误

本文介绍了您的推送会发布私人电子邮件地址错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



当我尝试在Github上共享我的项目时,出现以下错误消息。

 无法完成GitHub共享过程
在GitHub上成功创建了项目'myproject',但初始推送失败:
remote:错误:GH007:您的推送会发布私人电子邮件地址。
未能将一些文件推送到'https://github.com/me/myproject.git'

我使用了错误信息,并且没有点击。我也搜查了stackexchange,但没有雪茄。关于如何解决这个问题的任何想法?

解决方案

我经历了同样的错误:GH007 消息,并使用以下方法解决此问题。


  1. 转至 https://help.github.com/articles/setting-your-email-in-git/

  2. 按照为您电脑上的每个存储库设置电子邮件地址

  3. 打开您的GitHub帐户,请转到设置> 电子邮件
  4. 选择保留我的电子邮件地址专用复选框。 li>
  5. 取消选中 Block命令行推送显示我的电子邮件复选框


I'm very new to Github/VCS.

When I try to share my project on Github, I get the following error message.

    Can't finish GitHub sharing process
    Successfully created project 'myproject' on GitHub, but initial push failed:
    remote: error: GH007: Your push would publish a private email address.
    failed to push some refs to 'https://github.com/me/myproject.git'

I've googled the error message, and got no hits. I've also searched stackexchange, but no cigar. Any ideas on how to solve this issue?

解决方案

I experienced the same error: GH007 message as well, and used the following to resolve the issue.

  1. Go to https://help.github.com/articles/setting-your-email-in-git/.
  2. Follow the Setting your email address for every repository on your computer.
  3. Open your GitHub account, and go to Settings > Emails.
  4. Select the Keep my email address private check box.
  5. Unselect the Block command line pushes that expose my email check box.

这篇关于您的推送会发布私人电子邮件地址错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 09:22