Git alias:
rebase-branch = !"git rebase --interactive `grave;git merge-base main HEAD`grave;"
Example:
git rebase-branch