I have the following 2 branches, A should be rebased on top of B:
(Ancestor) -> A1 -> A2 -> A3
\
-> B1
I'm trying to squash all commits in A into 1 commit:
(Ancestor) -> B1 -> A123
However when I use git rebase with squash commit command, git still tries to rebase one commit at a time, so it start rebasing A1, ask me to resolve conflict, then rebase A2, as resolve conflict again, ... This waste a lot of time in rebasing branches.
My idea rebase would be to squash A1, A2, A3, directly, then only ask to resolve conflict between A3 & another head. I can do it manually with 2 git commands, but this is also not convenient. Is it possible to do it automatically with one command?
Thanks a lot for your help