Skip to content

Suggestion: shortcut to interactive rebase on top of selected commit/branch #733

@OliverJAsh

Description

@OliverJAsh

Firstly, thanks for your amazing work on lazygit! ❤️

Is your feature request related to a problem? Please describe.
lazygit provides lots of shortcuts so you don't have to manually interactive rebase and edit the todo file, but sometimes interactive rebasing is still the best way to go.

For example, if I have some commits that I'd like to re-order, I can use the move up/down shortcuts, but this is very slow (presumably because a rebase is done each time these shortcuts are used).

Another example: I want to rebase a branch on top of another branch and, whilst doing this, I would like to delete some commits which are now included upstream.

When manual interactive rebases are the best way to go, I'd still like to use the lazygit GUI to start the rebase. Otherwise I have to revert to using git log to find a commit, copying it, and then typing out the full rebase command.

Describe the solution you'd like
I'm not sure what the best solution would be. Firstly I'd like to validate if this is a genuine problem that other people are also experiencing.

Describe alternatives you've considered

Additional context

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions