Re: gerrit: pull, change, commit --amend and submit after many changes in master since first submit to gerrit

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 20.4.2022 15.23, Winfried Donkers wrote:
I have submitted a patch to gerrit weeks ago and I now want to change some of it (the patch in gerrit is still active).

When pulling the patch from gerrit, I get a merge commit.
I can change my patch, but how do I update the patch (I normally use 'git commit path_or_-a --amend' for this, but the patch is not the latest commit)?

I guess you removed your local branch and are aiming to restore it from backup as it were. Here are the basic instructions for that:
https://wiki.documentfoundation.org/Development/gerrit/SubmitPatch#Cherry_picking_yourself_out_of_trouble

Ilmari



[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux