I'm trying to push some changes to gerrit but gerrit is giving me back a remote error
! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit message )
I do have the change-id in the last paragraph just like usual.
user type is shown in setting开发者_Go百科s and user switchboard
Change-Id: I6b752abec9cf423d088bae4bfd939079dff21b3d
How can I push this change for review?
I was trying to push multiple commits (I thought it was only one) to gerrit and some of the commits did not have change-ids amended to the end of the commit message.
gerrit didn't like those commits, so I brought all the commits to one and it worked fine.
I realize this is almost a month old now, but it's gone unanswered and I like to have closure. :-)
Are you sure it's in the last paragraph? No extraneous characters in the commit message, etc?
If you don't need that specific Change-Id, amend the commit and remove that line so the commit-msg hook will regenerate it.
精彩评论