提示:错误:GE007:推送将发布私人电子邮件地址
error: GE007: Your push would publish a private email address
文章目录
- 前言
- 一、推送 git push origin master 报上述错
- 二、解决措施
- 1.gitee 设置-》邮箱管理 √去掉
- 2.重新 git push -u origin master
- 总结
前言
提示:
error: GE007: Your push would publish a private email address
一、推送 git push origin master 报上述错
Enumerating objects: 252, done.
Counting objects: 100% (252/252), done.
Delta compression using up to 4 threads
Compressing objects: 100% (233/233), done.
Writing objects: 100% (251/251), 29.67 MiB | 1.06 MiB/s, done.
Total 251 (delta 47), reused 0 (delta 0)
remote: Resolving deltas: 100% (47/47), done.
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
To gitee.com:xuanyjun/reggie_take_out.git
! [remote rejected] master -> master (hook declined)
error: failed to push some refs to 'git@gitee.com:xuanyjun/reggie_take_out.git'
二、解决措施
1.gitee 设置-》邮箱管理 √去掉
2.重新 git push -u origin master
$ git push -u origin master Enumerating objects: 252, done. Counting objects: 100% (252/252), done. Delta compression using up to 4 threads Compressing objects: 100% (233/233), done. Writing objects: 100% (251/251), 29.67 MiB | 934.00 KiB/s, done. Total 251 (delta 47), reused 0 (delta 0) remote: Resolving deltas: 100% (47/47), done. remote: Powered by GITEE.COM [GNK-6.4] To gitee.com:xuanyjun/reggie_take_out.git 31158ce..e61bfab master -> master Branch 'master' set up to track remote branch 'master' from 'origin'. |
push成功!文章来源:https://www.toymoban.com/news/detail-479705.html
总结
提示:error: GE007: Your push would publish a private email address
有gitee个人设置邮箱管理有关文章来源地址https://www.toymoban.com/news/detail-479705.html
到了这里,关于错误:GE007:推送将发布私人电子邮件地址的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!