的Git推入被拒,出现以下错误信息:GIT错误: - 预期的提交邮件',但发现 '[email protected]'
expected committer email '' but found '[email protected]'
我已经尝试:
- 在.gitconfig文件中设置使用属性。
- 尝试使用git push制作同一个存储库的不同克隆。
- 格式化后设置整个系统。
但没有人工作。我还能做些什么来解决它。
的Git推入被拒,出现以下错误信息:GIT错误: - 预期的提交邮件',但发现 '[email protected]'
expected committer email '' but found '[email protected]'
我已经尝试:
但没有人工作。我还能做些什么来解决它。
这似乎不是一个git的限制,但应该是某种预先收到关于远程侧钩(Git仓库托管服务/服务器到您正在推动)
这似乎勾解析提交并根据拒绝[email protected]
的特定条件检查提交者电子邮件。
您应该与远程端管理员核对,看看发生了什么。
的OP Karan Singla证实in the comments这是在服务器端的问题:
Issue got resolved. Admin re-created my account and it is working fine now.
我建议打开git的终端,并设置正确的电子邮件。当我遇到同样的问题时,这对我有用。
git config --global user.email "[email protected]"
这为我工作
git config --global user.name "Correct Name"
git config --global user.email [email protected]
git commit --amend --reset-author
您的意思是说Git存储库托管服务/服务器上的电子邮件地址设置不正确。 。所以这个错误只能从那个方面解决? – 2015-02-10 08:35:05
@KaranSingla它看起来这样。它是一个私人服务(或gitHub或BitBucket) – VonC 2015-02-10 08:42:21
它是一项私人服务。我应该特别要求项目主持人纠正,以便我能够推动。 – 2015-02-10 08:46:00