Gitee提交失败

git.exe push --all --progress  -- "origin"
Enumerating objects: 6, done.
Counting objects: 100% (6/6), done.
Delta compression using up to 16 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (6/6), 415 bytes | 207.00 KiB/s, done.
Total 6 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: Powered by GITEE.COM [1.1.23]        
remote: Set trace flag b14a729c        
remote: Push will publish a hidden email, make email public or abandon related commits        
remote: error: hook declined to update refs/heads/master        
To https://gitee.com/LiuJiaYu_Wizard/notes.git
 ! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'https://gitee.com/LiuJiaYu_Wizard/notes.git'


git 未能顺利结束 (退出码 1) (2359 ms @ 2025/12/16 14:02:33)

 

提交失败

然后在Gitee官网公开自己邮箱就可以了

 

修改 Gitee 账户设置

 

  1. 登录 Gitee 网站

  2. 进入「设置」→「邮箱设置」

  3. 确保你的邮箱是公开状态

  4. 或者将隐私邮箱功能关闭

 

posted @ 2025-12-16 14:09  家煜宝宝  阅读(30)  评论(0)    收藏  举报