remote: ERROR: missing Change-Id in commit message footer

git 提交到远程版本库出错:remote: ERROR: missing Change-Id in commit message footer 
图片一git

这里报错实际上是由于配置的时候没有获取一个“钩子”的东西,由于本地提交到远程版本库的时候中间还要通过一道审核服务器

解决方法:从服务器获取“钩子”到本地,如:scp -p -P 8849 远程版本库地址:hooks/c ommit-msg .git/hooks/ 
图片二code

而后从新提交一下:git commit --amend 
如今再提交到远程版本库就好了:git push origin HEAD:refs/for/develop 
图片三blog

欧克了,如今已经提交到远程版本库了!图片