git 提交出错:remote: ERROR: commit 0328209: missing Change-Id in message footer
这里报错其实是因为配置的时候没有获取一个“钩子”的东西,因为本地提交到远程版本库的时候中间还要经过一道审核
解决方法:上面的错误信息已经把解决方案提示出来了
1、执行一下 gitdir=$(git rev-parse --git-dir); scp -p -P 29418 amtion@192.168.1.78:hooks/commit-msg ${gitdir}/hooks/
2、然后用 git commit --amend 重新提交一下
3、最后再git push 你的代码就可以了
如果git commit --amend出现错误,解决了错误再git commit --amend重新提交之后git push