by fla · 3y ago · 0 comments
frbi = "!f() { git rebase -i $(git log --pretty=oneline --color=always | fzf --ansi | cut -d ' ' -f1)^ ; }; f"
I do: `git frbi` (which in my mind means Fzf ReBase Interactive)Then I can easily scroll up to the commit I want to start the rebase on.
Thanks for the tip!
If you've already made the change but haven't committed it, you can stash it before doing the rebase, then pop the stash while editing that commit.