Hacker News new | ask | show | jobs
by koolba 3 days ago
That ā€œ-Iā€ really needs to be lowercase.
3 comments

Someone should collect all the cases when header capitalization on HN affected meaning
Yeah I got quite excited that there was somehow a better -i; its almost perfect clickbait
I was hoping for a rebase that recalled what your previous base commit of your branch.

I'm really not fond of having to `git rebase --interactive` just to drop all commits that are "already in master", especially when I forget this silly step and get a borked rebase.

Does this not do what you want?

    git rebase -i master..HEAD
The gitrevisions(7) manpage is a good reference to keep in your back pocket, I find.

https://www.man7.org/linux/man-pages/man7/gitrevisions.7.htm...

And, ironically, a lot of letters in the blog post need to be uppercase.