3 ms·
Not sure. But I can use it on the Linux kernel without issue, which is 1,107,114 commits at the time I just tested it. So I have never felt a need to limit it.
by graton 4y ago
Not sure. But I can use it on the Linux kernel without issue, which is 1,107,114 commits at the time I just tested it. So I have never felt a need to limit it.
EDIT: Probably could use the "--max-count=<number>" option to `git log` which is documented in the man page.
- xwowsersx 4y agoHmm. I think I'm missing something basic here. git rebase --interactive is for when you want to take commits you've been baking and now want to clean them up, i.e. squashing some, rewording commit messages, etc, right? I'll usually do something like $ git rebase -i HEAD~5 to clean up the last 5. Can I do this with `git frbi`? Or is the point that I don't need to since all commits are "picked" by default so you just "s" and "r" the ones you want to and leave the rest?
- graton 4y ago`git frbi` allows you to pick the value that will be passed to `git rebase -i` I recommend you try it and it should hopefully make sense.
- xwowsersx 4y agoAh, I had. I just totally brain-farted on the fact that `--interactive <sha1>` takes the SHA of the commit just before the one you want to rewrite. Thanks!