gitee error: GE007: Your push would publish a private email address.

remote: Powered by GITEE.COM [GNK-6.4]
remote: error: GE007: Your push would publish a private email address.
remote: You can make your email public or disable this protection by visiting:
remote: https://gitee.com/profile/emails
remote: error: hook declined to update refs/heads/master

提交代码失败问题,使用了私人邮箱提交,在gitee默认设置了不公开邮箱,且禁止命令行推送,导致提交不成功。

解决办法:

1、登录gitee,个人设置,邮箱管理,取消勾选`禁止命令行推送暴露个人邮箱`

2、登录gitee,个人设置,邮箱管理,使用gitee生成的提交邮箱代替个人邮箱生成ssh秘钥(ssh密钥配置办法点击此)

 

 

posted @   RoarInWind  阅读(461)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 地球OL攻略 —— 某应届生求职总结
· 周边上新:园子的第一款马克杯温暖上架
· Open-Sora 2.0 重磅开源!
· 提示词工程——AI应用必不可少的技术
· .NET周刊【3月第1期 2025-03-02】
点击右上角即可分享
微信分享提示