gitee推送更新失败问题记录:remote: error: hook declined to update refs/heads/master

问题描述:

gitee推送更新时,提示:

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个人主页》设置,更改“禁止命令行推送暴露个人邮箱”,将其关闭:

 

posted @   mkmkbj  阅读(1336)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· 单线程的Redis速度为什么快?
· 展开说说关于C#中ORM框架的用法!
· Pantheons:用 TypeScript 打造主流大模型对话的一站式集成库
· SQL Server 2025 AI相关能力初探
点击右上角即可分享
微信分享提示