首页 > 其他分享 >gitee推送更新失败问题记录:remote: error: hook declined to update refs/heads/master

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

时间:2022-11-29 16:37:49浏览次数:39  
标签:remote refs update gitee hook error 推送

问题描述:

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

 

标签:remote,refs,update,gitee,hook,error,推送
From: https://www.cnblogs.com/mkmkbj/p/16935737.html

相关文章