<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><pre><br />发件人:John Broadbent <jebr@google.com>
发送日期:2022-06-16 10:55:30
收件人:"成修治" <xzcheng@kunluntech.com.cn>
抄送人:OpenBMC Maillist <openbmc@lists.ozlabs.org>
主题:Re: How to post patches for review to Gerrit?>Can you try:
> $ git push origin HEAD:refs/for/master
<div>></div><div>it works now by this comand.Thanks.</div><div>Xiuzhi</div><div>>if that does not work try something like this:</div>> $ 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.
<div>></div>>
>On Wed, Jun 15, 2022 at 7:05 PM 成修治 <xzcheng@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
>>
>>
</pre></div><br>