查看: 31|回复: 0

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

[复制链接]

4

主题

0

回帖

0

积分

热心网友

金币
0
阅读权限
220
精华
0
威望
0
贡献
0
在线时间
0 小时
注册时间
2008-12-29
发表于 2022-11-29 16:22:00 | 显示全部楼层 |阅读模式

问题描述:

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

 



来源:https://www.cnblogs.com/mkmkbj/p/16935737.html
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

相关侵权、举报、投诉及建议等,请发 E-mail:qiongdian@foxmail.com

Powered by Discuz! X5.0 © 2001-2026 Discuz! Team.

在本版发帖返回顶部