blob: 9d3d2fcaf2cc50d459c7d374eddcb7de35a1e3be [file] [log] [blame]
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -08001= invalid Change-Id line format in commit message footer
Edwin Kempine0db0672010-12-28 09:31:40 +01002
3With this error message Gerrit rejects to push a commit if its commit
David Pursehousea68769e2012-11-07 12:36:17 +09004message footer contains an invalid Change-Id line.
Edwin Kempine0db0672010-12-28 09:31:40 +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 Kempine0db0672010-12-28 09:31:40 +010011use it to correct the invalid Change-Id line in the commit message of
12the commit for which the push is failing. How to do this is explained
13link: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 the invalid Change-Id line 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 valid
19Change-Id will be automatically generated and inserted.
20
21
Yuxuan 'fishy' Wang61698b12013-12-20 12:55:51 -080022== SEE ALSO
Edwin Kempine0db0672010-12-28 09:31:40 +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---------