Gerrit error when Change-Id in commit messages are missing

前端 未结 12 1183
北荒
北荒 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:25

    It is because Gerrit is configured to require Change-Id in the commit messages.

    http://gerrit.googlecode.com/svn-history/r6114/documentation/2.1.7/error-missing-changeid.html

    You have to change the messages of every commit that you are pushing to include the change id ( using git filter-branch ) and only then push.

提交回复
热议问题