Gerrit error when Change-Id in commit messages are missing

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

    You might be an admin doing a one-off push directly into refs/changes/.

    For example, once a commit without Change-Id landed into Subversion, you pull it out of Subversion using git-svn, and you'd like to archive it as a Gerrit patchset into a Gerrit change.

    If so, you can go to project settings page (http://[installation-path]/#/admin/projects/[project-id]) and temporarily change "Require Change-Id in commit message" value to False.

    Don't forget to afterwards change it back to Inherit or True!

提交回复
热议问题