推送到远程时,电子邮件地址不允许出错

时间:2016-02-12 17:12:08

标签: git

我收到电子邮件地址不允许错误,为什么要推送到遥控器。

git -c diff.mnemonicprefix=false -c core.quotepath=false -c
credential.helper=sourcetree push -v --set-upstream origin
refs/heads/feature/BROC-133_my_branch:refs/heads/feature/ROC-133_my_branch

推动

ssh://git_me@git.xxx.de:222/var/lib/git/broccoli-ios.git remote:
Email address 'xxx@yyy.com' in commit 067e3d3 not allowed when
updating refs/heads/feature/ROC-133_my_branch         To
ssh://git_xxx@git.xxx.yy:222/var/lib/git/xxx-ios.git  !

[remote rejected] feature/ROC-133_xxx ->
feature/ROC-133_xxx (pre-receive hook declined) error:
failed to push some refs to
'ssh://xxx@git.xxx.yy:222/var/lib/git/xxx-ios.git'

Completed with errors, see above

任何想法可能是什么问题?

1 个答案:

答案 0 :(得分:1)

此处解释了错误:

feature/BROC-133_xxx (pre-receive hook declined) error:

您的服务器端pre-receive hook拒绝您的电子邮件地址将代码推送到所需的回购或分支。

您必须与您的git管理员联系以修改挂钩并允许您提交代码。