本地提交代码时,报错:
remote: Processing changes: refs: 1, done
remote: ERROR: commit 3fcf334: missing Change-Id in message footer
remote:
remote: Hint: to automatically insert a Change-Id, install the hook:
remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 *********.com:hooks/commit-msg ${gitdir}/hooks/
remote: and then amend the commit:
remote: git commit --amend --no-edit,
一种情况是生成Change-Id的文件丢失:在.git\hooks文件目录下的commit-msg文件丢失,可以重新拷贝一份放进去就可以了