On Wed, Mar 20, 2024, at 08:17, jjb8256@xxxxxxxx wrote: > Hi: > git push 时发现如下报错,尝试无法修改,请帮忙,谢谢! > > $ git push > Enumerating objects: 9, done. > Counting objects: 100% (8/8), done. > Delta compression using up to 8 threads > Compressing objects: 100% (5/5), done. > Writing objects: 100% (5/5), 701 bytes | 233.00 KiB/s, done. > Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0) > remote: The gitlab-shell hooks have been migrated to Gitaly, see > https://gitlab.com/gitlab-org/gitaly/issues/1226 > To http://10.11.15.10/ks-rd-fw/git-train-2022.git > ! [remote rejected] develop -> develop (pre-receive hook declined) > error: failed to push some refs to > 'http://10.11.15.10/ks-rd-fw/git-train-2022.git' The pre-receive hook on the server failed. That means that whatever you pushed is wrong according to that script. See `man githooks`. -- Kristoffer