blob: 31567f4f21b6de4f2c4146c8ef876bf17d2473ce [file] [log] [blame]
Han-Wen Nienhuysb8424a02018-08-27 20:04:08 +02001= commit xxxxxxx: multiple Change-Id lines in message footer
Edwin Kempin947d6662010-12-27 13:33:09 +01002
3With this error message Gerrit rejects to push a commit if the commit
David Pursehousea68769e2012-11-07 12:36:17 +09004message footer of the pushed commit contains several Change-Id lines.
Edwin Kempin947d6662010-12-27 13:33:09 +01005
6You can see the commit messages for existing commits in the history
7by doing a link:http://www.kernel.org/pub/software/scm/git/docs/git-log.html[git log].
8
9If it was the intention to rework a change and to push a new patch
David Pursehousea1d633b2014-05-02 17:21:02 +090010set, find the change in the Gerrit Web UI, copy its Change-Id line and
Edwin Kempin947d6662010-12-27 13:33:09 +010011use the copied Change-Id line instead of the existing Change-Id lines
12in the commit message of the commit for which the push is failing.
13How to do this is explained link:error-push-fails-due-to-commit-message.html#commit_hook[here].
14
15If it was the intention to create a new change in Gerrit simply
16remove all Change-Id lines from the commit message of the
17commit for which the push is failing. How to do this is explained
18link:error-push-fails-due-to-commit-message.html#commit_hook[here]. In case you have configured the link:cmd-hook-commit-msg.html[commit hook] a new Change-Id
19will be automatically generated and inserted.
20
21
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080022== SEE ALSO
Edwin Kempin947d6662010-12-27 13:33:09 +010023
24* link:user-changeid.html[Change-Id Lines]
25
26
27GERRIT
28------
29Part of link:error-messages.html[Gerrit Error Messages]
Yuxuan 'fishy' Wang99cb68d2013-10-31 17:26:00 -070030
31SEARCHBOX
32---------