准备推送gitee远程
idea 疯狂 提示 被拒绝。起初以为一些文档在外打开,没有保存所致。
都解决还是不行。
错误信息
使用 SourceTree 提交,展示完整日志。
Enumerating objects: 818, done.
Delta compression using up to 4 threads
Total 719 (delta 234), reused 0 (delta 0)
remote: Powered by [01;33mGITEE.COM [0m[[01;35mGNK-5.0[0m][0m
remote: error: GE007: Your push would publish a [01;31mprivate email address[0m.
remote: You can make your email public or [33mdisable this protection[0m by visiting:
remote: [01;36mhttps://gitee.com/profile/emails[0m
remote: error: hook declined to update refs/heads/chap2
error: failed to push some refs to ‘xxxxxx’
To httpsxxxxxx
! refs/heads/chap2:refs/heads/chap2 [remote rejected] (hook declined)
Done
百度好久
要想放弃编程的心都有了
gitee->邮箱设置->如图

再次提交,ok
本文讲述了作者在尝试将项目推送到Gitee时遇到的关于私人邮箱保护的错误,并详细记录了解决过程,包括检查邮箱设置和理解如何公开邮件地址或关闭保护。
1938

被折叠的 条评论
为什么被折叠?



