gitee报错 Push to origin/master was rejected【解决方法】

今天爱分享给大家带来gitee报错 Push to origin/master was rejected【解决方法】,希望能够帮助到大家。
步骤1:

alt + f12 键 打开Intellij 命令窗口

执行命令:


git push -u origin master -f

后报错:

remote: Powered by GITEE.COM [GNK-5.0]

remote: error: GE007: Your push would publish a private email address.

remote: You can make your email public or disable this protection by visiti

ng:

remote: https://gitee.com/profile/emails

remote: error: hook declined to update refs/heads/master

To gitee.com:/dong-chaoke/jvm_analyse.git

! [remote rejected] master -> master (hook declined)

error: failed to push some refs to ‘git@gitee.com:/xxx/jvm_analyse.

git’

之后进入gitee中

即可正常提交

人已赞赏
软件

git:Pulling is not possible because you have unmerged files【解决方法】

2020-12-23 14:44:32

软件

GLib.Error: g-io-error-quark: The connection is closed (18)【解决方法】

2020-12-23 18:35:38

'); })();