提示报错:
remote: Powered by GITEE.COM [GNK-3.8] 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 To https://gitee.com/xxxx/xxxx.git ! [remote rejected] develop -> develop (hook declined) error: failed to push some refs to 'https://gitee.com/xxxxx/xxxx.git' 解决的办法: 其实下面一句说的很明白 要公开邮箱才可以 remote: https://gitee.com/profile/emails 今年年初,码云支持了一个帐号多邮箱的特性(详见《你到底有几个邮箱?码云账号增加多邮箱支持!》),支持用户将多个邮箱绑定到码云帐号,同时支持用户通过 git config 配置形如 `xxxx+username@user.noreply.gitee.com` 的邮箱进行代码提交并产生贡献度。 出于隐私保护的考虑,码云后续又推出了「邮箱隐私保护」的功能。用户在「个人设置」->「基本设置」->「多邮箱管理」中开启了「不公开我的邮箱地址」后,在网页上修改仓库内容并产生提交时,系统将默认使用上述的隐私邮箱地址作为提交邮箱。通过这一功能,用户可以有效的保护自己的邮箱信息以避免不必要的打扰。
|