Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If you have `fzf` installed you might try this alias.

    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.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: