<html><body><p><tt><font size="2">Jeremy Stanley <fungi@yuggoth.org> wrote on 12/05/2018 02:52:28 PM:<br>> On 2018-12-05 14:48:37 -0500 (-0500), William M Edmonds wrote:<br>> > Eric Fried <openstack@fried.cc> wrote on 12/05/2018 12:18:37 PM:<br>> > <br>> > <snip><br>> > <br>> > > But I want to edit 1b2c453, while leaving ebb3505 properly stacked on<br>> > > top of it. Here I use a tool called `git restack` (run `pip install<br>> > > git-restack` to install it).<br>> > <br>> > It's worth noting that you can just use `git rebase` [1], you don't have to<br>> > use git-restack. This is why later you're using `git rebase --continue`,<br>> > because git-restack is actually using rebase under the covers.<br>> > <br>> > [1] <a href="https://stackoverflow.com/questions/1186535/how-to-modify-a-">https://stackoverflow.com/questions/1186535/how-to-modify-a-</a><br>> specified-commit<br>> <br>> You can, however what git-restack does for you is figure out which<br>> commit to rebase on top of so that you don't inadvertently rebase<br>> your stack of changes onto a newer branch state and then make things<br>> harder on reviewers.<br>> -- <br>> Jeremy Stanley<br></font></tt><br><tt><font size="2">Ah, that's good to know.</font></tt><br><br><tt><font size="2">Also, found this existing documentation [2] if someone wants to propose an update or link from another location. Note that it doesn't currently mention git-restack, just rebase.</font></tt><br><br><tt><font size="2">[2] </font></tt><a href="https://docs.openstack.org/contributors/code-and-documentation/patch-best-practices.html#how-to-handle-chains"><tt><font size="2">https://docs.openstack.org/contributors/code-and-documentation/patch-best-practices.html#how-to-handle-chains</font></tt></a><BR>
</body></html>