My team wants me to squash, but sometimes they want me to split it again (per certain aspects).
After squash (git rebase -i
), the branch moves and the old commits are left in "vacuum".
I would like to leave the branch on the old unsquashed commits, to be able to return to it easily.
Is there a single command way to leave the old branch position named somehow, or the other way around, create a new branch for the squashed commits?