gerrit报错 cannot insert change-id line in .git/COMMIT_EDITMSG,可能是GIT版本低导致的,检查GIT版本是否新版
git --version
使用新版git
wget https://mirrors.edge.kernel.org/pub/software/scm/git/git-2.12.2.tar.gz cd git-2.22.1/ make prefix=/usr/local all yum install curl-devel expat-devel gettext-devel openssl-devel zlib-devel make prefix=/usr/local all make prefix=/usr/local install git version
完成