How to post patches for review to Gerrit?

John Broadbent jebr at google.com
Thu Jun 16 12:55:30 AEST 2022


Can you try:
  $ git push origin HEAD:refs/for/master

if that does not work try something like this:
   $ git push ssh://xiuzhi11@gerrit.openbmc.org:29418/openbmc/kunlun-ipmi-oem
HEAD:refs/for/master -vvv

There are instructions here with a sample push command
https://github.com/openbmc/docs/blob/master/development/gerrit-setup.md#push-code-change-to-gerrit

Let us know if you have any issues.


On Wed, Jun 15, 2022 at 7:05 PM 成修治 <xzcheng at kunluntech.com.cn> wrote:
>
> Hi ,
>   I want to post a patch to openbmc/kunlun-ipmi-oem gerrit server for review,
>  https://gerrit.openbmc.org/admin/repos/openbmc/kunlun-ipmi-oem,general
>
> I cloned it by :
>    git clone "ssh://xiuzhi11@gerrit.openbmc.org:29418/openbmc/kunlun-ipmi-oem"
> the command :git remote -v is:
> origin ssh://xiuzhi11@gerrit.openbmc.org:29418/openbmc/kunlun-ipmi-oem (fetch)
> origin ssh://xiuzhi11@gerrit.openbmc.org:29418/openbmc/kunlun-ipmi-oem (push)
> I cannot not find the new patch on gerrit when I use command:
>     git push origin main
> it merged to the repo https://github.com/openbmc/kunlun-ipmi-oem directly.
> why?
> Xiuzhi
>
> ---------------------------------------------------
>
> --
> Xiuzhi Cheng
> BMC Firmware Team
> Kunlun Technology (Beijing) Co. Ltd.
> Taiji building, No.211, Beisihuan Middle Road, Haidian District, Beijing,China.
> TEL: 8610-89056290
> www.zd-tech.com.cn
>
>


More information about the openbmc mailing list