When doing an interactive rebase on a feature branch, I usually want to pull only the commits that are new in that branch into the rebase, which means I need to first check my log, count the commits, and specify git rebase HEAD~n --interactive
where n
is the number of commits.
Is there any shortcut command to just collect the commits I want?