From Dev.to
The Power of git rebase --onto: Surgical Commit Slicing in Git
If you work in a team that stacks branches or uses Squash & Merge, you have almost certainly encountered this nightmare: You create branch feature-B off feature-A while waiting for review. feature-A g...