GIT错误: - 期望提交者电子邮件'',但发现'karan@xyz.com' [英] GIT Error:- expected committer email '' but found 'karan@xyz.com'

查看:673
本文介绍了GIT错误: - 期望提交者电子邮件'',但发现'karan@xyz.com'的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 预期提交者电子邮件'',但发现'karan @ xyz。 com'

我已经试过了:


  1. 在.gitconfig文件中设置使用属性。

  2. 尝试使用git push制作同一个存储库的不同克隆。完整的系统格式化后。

但没有任何工作。我还能做些什么来解决它。

解决方案

这看起来不像git限制,但应该是某种预先接收远程端的钩子(你推送到的Git仓库服务/服务器)

该钩子似乎解析提交并检查提交者电子邮件根据拒绝 karan@xyz.com

的具体标准,您应该与远程端管理员核实以查看发生了什么。






OP Karan Singla 确认评论这是服务器端的问题:


问题已解决。管理员重新创建了我的帐户,现在工作正常。



Git push is getting rejected with the following error message:

expected committer email '' but found 'karan@xyz.com'

I have already tried:

  1. setting use properties in .gitconfig file.
  2. trying git push making different clones of same repository.
  3. setting up whole system all together after formatting it.

But none has worked. What else can I do to resolve it.

解决方案

This doesn't seem like a git limitation, but should be some kind of pre-receive hook on the remote side (the Git repository hosting service/server to which you are pushing to)

That hook seems to parse the commits and check the committer email against a specific criteria which rejects karan@xyz.com.
You should check with the remote side administrator to see what is going on.


The OP Karan Singla confirms in the comments it was an issue at the server side:

Issue got resolved. Admin re-created my account and it is working fine now.

这篇关于GIT错误: - 期望提交者电子邮件'',但发现'karan@xyz.com'的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆