1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2024-12-12 11:15:00 +02:00
lazygit/docs/keybindings
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
..
Custom_Keybindings.md updated keybinding config docs 2020-01-07 08:38:07 +08:00
Keybindings_en.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_ja.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_ko.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_nl.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_pl.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_ru.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_zh-CN.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00
Keybindings_zh-TW.md Add ability to start an interactive rebase onto an appropriate base 2024-01-13 12:57:49 +11:00