把本地仓库push到Gitee报如下错误:
error: GE007: Your push would publish a private email address. You can make your email public or disable this protection by visiting:https://gitee.com/profile/emails
error: hook declined to update refs/heads/master To 你的仓库网址
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to '你的仓库网址'
原因及解决方案
是在Gitee中设置了“禁止命令行推送暴露个人邮箱”,取消勾选就好
