Hi,
I am using the gerrit for the first time. I created a demo project. I am planning to push one text file to the branch (test) for the review. i am facing the following.
/test/testproj/testproj$ git push ssh://
us...@192.168.200.78:29418/testproj HEAD:refs/for/test
Counting objects: 4, done.
Writing objects: 100% (3/3), 254 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
remote: Processing changes: refs: 1, done
remote: ERROR: [694b476] missing Change-Id in commit message footer
remote:
remote: Hint: To automatically insert Change-Id, install the hook:
remote: gitdir=$(git rev-parse --git-dir); scp -p -P 29418 user@mcinhvendes21:hooks/commit-msg ${gitdir}/hooks/
remote: And then amend the commit:
remote: git commit --amend
remote:
To ssh://
us...@192.168.200.78:29418/testproj ! [remote rejected] HEAD -> refs/for/test ([694b476] missing Change-Id in commit message footer)
error: failed to push some refs to 'ssh://
us...@192.168.200.78:29418/testproj'
user@(none):~/test/testproj/testproj$
can you please suggest me where i am missing.
Thanks & Regards
Jaswanth