Autosquash in interactive rebase #1160
-
Is there a way to get the fixup and squash commit already sorted during an interactive rebase? edit: typo and clarification |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Beta Was this translation helpful? Give feedback.
-
Hi there, First off I love lazygit and think it is great. Thanks for your work on it. I don't think shift+S is the same as what was originally asked. Seems like shift+S is for use outside of an interactive rebase, since that shortcut is not enabled while rebasing. An option I would like to see is to start an interactive rebase and have all the fixup commits be moved to right above the commit they fixup, and then marked with fixup, just like you would get doing an interactive rebase with Pressing I hope you'll consider such a feature. edit: I suppose a workaround is to run |
Beta Was this translation helpful? Give feedback.
First off: apologies for the late reply, github didn't send me notifications about comments in these discussion threads!
If I understand your question correctly, you might find value in the shift+S keybinding to squash all
fixup!
commits above the selected commit:Does that satisfy your use case?