cd /代码仓库,如:/c/work/code/test
curl -o .git/hooks/commit-msg http://ip地址:端口号/tools/hooks/commit-msg
chmod +x .git/hooks/commit-msg
git commit --amend --no-edit # 为当前提交添加 Change-Id
git push origin HEAD:refs/for/xxx详细报错:

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。
原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。
如有侵权,请联系 cloudcommunity@tencent.com 删除。