Problem: You rebased a branch (featureA) and now need to rebase a branch that depends on it (featureB).
Solution: Use git rebase --onto, which takes three parameters:
- The branch name of
featureA - The commit ID of the last commit in
featureA, in the "old" log/history offeatureB - (optional) The branch name of
featureB