lazygit/docs
Jesse Duffield 53a8bd2e3f Add ability to start an interactive rebase onto an appropriate base
A common issue I have is that I want to move a commit from the top of my branch
all the way down to the first commit on the branch. To do that, I need to navigate
down to the first commit on my branch, press 'e' to start an interactive rebase,
then navigate back up to the top of the branch, then move my commit back down to
the base. This is annoying.

Similarly annoying is moving the commit one-by-one without explicitly starting
an interactive rebase, because then each individual step is its own rebase which
takes a while in aggregate.

This PR allows you to press 'i' from the commits view to start an interactive
rebase from an 'appropriate' base. By appropriate, we mean that we want to start
from the HEAD and stop when we reach the first merge commit or commit on the main
branch. This may end up including more commits than you need, but it doesn't make
a difference.
2024-01-13 12:57:49 +11:00
..
dev Update codebase guide 2024-01-11 09:57:05 +11:00
keybindings Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Config.md Add command to find base commit for creating a fixup 2024-01-10 09:11:40 +01:00
Custom_Command_Keybindings.md Add more worktree tests 2023-07-30 18:35:23 +10:00
Custom_Pagers.md Fix keybinding for editing config file 2023-09-04 16:52:30 +02:00
Fixup_Commits.md Add command to find base commit for creating a fixup 2024-01-10 09:11:40 +01:00
README.md Add documentation for working with stacked branches 2023-07-31 08:34:01 +02:00
Searching.md Add filtering docs 2023-07-03 12:54:14 +10:00
Stacked_Branches.md Update Stacked_Branches.md 2023-10-24 05:32:29 -04:00
Undoing.md Add undo demo 2023-08-12 16:15:50 +10:00