Git push失败并给出验证错误

时间:2014-07-17 12:02:31

标签: git

当我尝试将更改推送到远程时,会出现以下错误。有没有人有想法?

Counting objects: 50, done. Delta compression using up to 4 threads.
Compressing objects: 100% (17/17), done. 
Writing objects: 100% (27/27), 1.87 KiB, done. 
Total 27 (delta 9), reused 0 (delta 0)

remote: Validating commit message from [[  ]] for repo [[ ]] 
remote: Validation failed for commit message from [[ ]] for repo [[  ]]
remote: Commit ID [[ Resolving issue related to passenger update notification in check-in flow ]] is wrong To git@10.20.2.20:dcs  
! [remote rejected] dcs_1.9.11 -> dcs_1.9.11 (pre-receive hook declined) 
error: failed to push some refs to 'git@10.20.2.20:dcs'

1 个答案:

答案 0 :(得分:3)

你正在推销的回购品似乎有一个pre-receive hook,否认你说推。

您需要联系该服务器的管理员,以了解有关该特定挂钩的更多信息。