准备推送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