问题
remote: ERROR: commit afd13d9: 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 heweiwei@review.xxx.cn:hooks/commit-msg ${gitdir}/hooks/
remote: and then amend the commit:
remote: git commit --amend --no-edit
remote:
error: failed to push some refs to 'ssh://review.xxx.cn:29418/ArcherDT/vdi-server'
解决
gitdir=$(git rev-parse --git-dir)
scp -O -P 29418 heweiwei@review.xxx.cn:hooks/commit-msg ${gitdir}/hooks/
git commit --amend --no-edit
网友评论