gerrit: pull, change, commit --amend and submit after many changes in master since first submit to gerrit
Ilmari Lauhakangas
ilmari.lauhakangas at libreoffice.org
Wed Apr 20 12:29:05 UTC 2022
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
More information about the LibreOffice
mailing list