Gerrit error when Change-Id in commit messages are missing

前端 未结 12 1203
北荒
北荒 2020-11-28 03:58

I set up a branch in the remote repository and made some commits on that branch. Now I want to merge the remote branch to the remote master.

Basically follows are my

12条回答
  •  醉话见心
    2020-11-28 04:34

    You need to follow below 2 steps instructions:

    [Issue] remote: Hint: To automatically insert Change-Id, install the hook:

    1) gitdir=$(git rev-parse --git-dir);

    2) scp -p -P 29418 @gerrit.xyz.se:hooks/commit-msg ${gitdir}/hooks/

    normally $gitdir = ".git". You need to update the username and the Gerrit link.

提交回复
热议问题