gitee Push rejected Push chap2 to origin/chap2 was rejected by remote

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

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

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值