即使更改 ID 存在,Gerrit 也会给出缺少更改 ID 的错误

发布于 2024-11-03 16:38:53 字数 344 浏览 1 评论 0原文

我正在尝试将一些更改推送到 gerrit,但 gerrit 给我返回一个远程错误,

! [remote rejected] HEAD -> refs/for/master (missing Change-Id in commit message )

我确实像往常一样在最后一段中有更改 ID。

user type is shown in settings and user switchboard

Change-Id: I6b752abec9cf423d088bae4bfd939079dff21b3d

我如何推动此更改进行审核?

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 settings and user switchboard

Change-Id: I6b752abec9cf423d088bae4bfd939079dff21b3d

How can I push this change for review?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

花伊自在美 2024-11-10 16:38:53

我试图将多个提交(我认为只有一个)推送到 gerrit,并且某些提交没有将更改 ID 修改到提交消息的末尾。

gerrit 不喜欢这些提交,所以我将所有提交都集中到一个提交中,效果很好。

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.

坐在坟头思考人生 2024-11-10 16:38:53

我意识到这件事已经过去快一个月了,但还没有得到答复,我喜欢结束。 :-)

确定它在最后一段吗?提交消息等中没有无关字符?

如果您不需要特定的 Change-Id,请修改提交并删除该行,以便 commit-msg 挂钩将重新生成它。

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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文