git提交时报这个错误时
09:50:12.049: [jdk8_source] git -c credential.helper= -c core.quotepath=false -c log.showSignature=false push --progress --porcelain origin refs/heads/develop:develop
Total 18 (delta 16), reused 0 (delta 0), pack-reused 0
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/develop
error: failed to push some refs to 'https://gitee.com/xxx/jdk8_source.git'
To https://gitee.com/xxx/jdk8_source.git
! refs/heads/develop:refs/heads/develop [remote rejected] (hook declined)
可将gitee中的禁止命令行推送关闭,然后再重新推,就ok了