错误代码:
18:12 IOException: 远程主机强迫关闭了一个现有的连接。
18:12 Can't finish GitHub sharing process
Successfully created project 'Exam' 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/czh60601/Exam.git'
网上搜索了很多内容,都没有可行的解决方案,或者是出现错误的原因不同,特此留个草稿,等解决后更新解决方法
找到解决方法了。
http://stackoverflow.com/questions/43863522/your-push-would-publish-a-private-email-address-error
方法如下:
setting->emails->Keep my email address private
把这一项去掉勾选即可。