Repository navigation
Replies: 1 comment 2 replies
|
For fixup commits lazygit already does this automatically, so there's a rather non-obvious way to achieve what you want:
The other, more obvious way is unfortunately slightly more cumbersome than it should be: create the commit normally at the tip of the stack and move it down. The reason is that when you move it down outside of an interactive rebase, it ends up at the beginning of the second branch rather than the end of the first; to avoid that, you need to select commit-2 (or any other commit of the lower branch), hit A third way is to stash your changes, hit
That's true, but it seems like a bit of an uncommon thing (outside of stacked branches, where you can easily move the commit after creating it), so I'm hesitant to waste a keybinding on it. |
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Thanks for this awesome tool!
I would like to commit changes like this:
Maybe "Add a commit after this commit" when I select commit-2 would do.
All reactions