{"thread":{"id":"61159","subject":"git push error","startedAt":"2024-03-20T07:17:22Z","lastAt":"2024-03-20T11:52:19Z","messageCount":4,"participants":["jjb8256@sina.com","Kristoffer Haugsbakk","rsbecker@nexbridge.com"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"490996","messageId":"65fa8d7a469967.62182104.7cc8fd91@m1.mail.sina.com.cn","threadId":"61159","inReplyTo":null,"subject":"git push error","fromName":"","fromEmail":"jjb8256@sina.com","sentAt":"2024-03-20T07:17:14Z","receivedAt":"2024-03-20T07:17:22Z","isPatch":false,"sender":{"key":"jjb8256@sina.com","avatar":null},"body":"Hi：\n    git push 时发现如下报错，尝试无法修改，请帮忙，谢谢！\n\n$ git push\nEnumerating objects: 9, done.\nCounting objects: 100% (8/8), done.\nDelta compression using up to 8 threads\nCompressing objects: 100% (5/5), done.\nWriting objects: 100% (5/5), 701 bytes | 233.00 KiB/s, done.\nTotal 5 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)\nremote: The gitlab-shell hooks have been migrated to Gitaly, see https://gitlab.com/gitlab-org/gitaly/issues/1226\nTo http://10.11.15.10/ks-rd-fw/git-train-2022.git\n ! [remote rejected] develop -> develop (pre-receive hook declined)\nerror: failed to push some refs to 'http://10.11.15.10/ks-rd-fw/git-train-2022.git'"},{"id":"490999","messageId":"6f4d8a42-341b-40e0-97f4-157d053c0ff2@app.fastmail.com","threadId":"61159","inReplyTo":"65fa8d7a469967.62182104.7cc8fd91@m1.mail.sina.com.cn","subject":"Re: git push error","fromName":"Kristoffer Haugsbakk","fromEmail":"code@khaugsbakk.name","sentAt":"2024-03-20T08:45:32Z","receivedAt":"2024-03-20T08:45:59Z","isPatch":false,"sender":{"key":"code@khaugsbakk.name","avatar":"https://avatars.githubusercontent.com/u/2229597?v=4"},"body":"On Wed, Mar 20, 2024, at 08:17, jjb8256@sina.com wrote:\n> Hi：\n>     git push 时发现如下报错，尝试无法修改，请帮忙，谢谢！\n>\n> $ git push\n> Enumerating objects: 9, done.\n> Counting objects: 100% (8/8), done.\n> Delta compression using up to 8 threads\n> Compressing objects: 100% (5/5), done.\n> Writing objects: 100% (5/5), 701 bytes | 233.00 KiB/s, done.\n> Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)\n> remote: The gitlab-shell hooks have been migrated to Gitaly, see\n> https://gitlab.com/gitlab-org/gitaly/issues/1226\n> To http://10.11.15.10/ks-rd-fw/git-train-2022.git\n>  ! [remote rejected] develop -> develop (pre-receive hook declined)\n> error: failed to push some refs to\n> 'http://10.11.15.10/ks-rd-fw/git-train-2022.git'\n\nThe pre-receive hook on the server failed. That means that whatever you\npushed is wrong according to that script.\n\nSee `man githooks`.\n\n--\nKristoffer\n"},{"id":"491000","messageId":"911b6647-301b-45a3-9f10-f91ed7482eb7@app.fastmail.com","threadId":"61159","inReplyTo":"6f4d8a42-341b-40e0-97f4-157d053c0ff2@app.fastmail.com","subject":"Re: git push error","fromName":"Kristoffer Haugsbakk","fromEmail":"code@khaugsbakk.name","sentAt":"2024-03-20T08:51:43Z","receivedAt":"2024-03-20T08:52:06Z","isPatch":false,"sender":{"key":"code@khaugsbakk.name","avatar":"https://avatars.githubusercontent.com/u/2229597?v=4"},"body":"On Wed, Mar 20, 2024, at 09:45, Kristoffer Haugsbakk wrote:\n> On Wed, Mar 20, 2024, at 08:17, jjb8256@sina.com wrote:\n>> [snip]\n>> https://gitlab.com/gitlab-org/gitaly/issues/1226\n>> [snip]\n>\n> The pre-receive hook on the server failed. That means that whatever you\n> pushed is wrong according to that script.\n>\n> See `man githooks`.\n>\n> --\n> Kristoffer\n\nYou should also look at the the message that the remote sent:\n\n    remote: The gitlab-shell hooks have been migrated to Gitaly, see\n    https://gitlab.com/gitlab-org/gitaly/issues/1226\n"},{"id":"491009","messageId":"02ef01da7abd$0a33b760$1e9b2620$@nexbridge.com","threadId":"61159","inReplyTo":"65fa8d7a469967.62182104.7cc8fd91@m1.mail.sina.com.cn","subject":"RE: git push error","fromName":"","fromEmail":"rsbecker@nexbridge.com","sentAt":"2024-03-20T11:52:03Z","receivedAt":"2024-03-20T11:52:19Z","isPatch":false,"sender":{"key":"randall.becker@nexbridge.ca","avatar":"https://avatars.githubusercontent.com/u/28956764?v=4"},"body":"On Wednesday, March 20, 2024 3:17 AM, jjb8256@sina.com wrote:\n>    git push 时发现如下报错，尝试无法修改，请帮忙，谢谢！\n>\n>$ git push\n>Enumerating objects: 9, done.\n>Counting objects: 100% (8/8), done.\n>Delta compression using up to 8 threads\n>Compressing objects: 100% (5/5), done.\n>Writing objects: 100% (5/5), 701 bytes | 233.00 KiB/s, done.\n>Total 5 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)\n>remote: The gitlab-shell hooks have been migrated to Gitaly, see\n>https://gitlab.com/gitlab-org/gitaly/issues/1226\n>To http://10.11.15.10/ks-rd-fw/git-train-2022.git\n> ! [remote rejected] develop -> develop (pre-receive hook declined)\n>error: failed to push some refs to 'http://10.11.15.10/ks-rd-fw/git-train-2022.git'\n\nThis looks like a problem with the pre-receive hook on your GitLab installation on the server-side, or that script is rejecting the push. This probably should be referred to the GitLab team for support (possibly at your company).\n\n--Randall\n\n"}]}