Comment Comment by timvisee `git rebase --onto FIRST_ID^ NEW_PARENT`is also super powerful to put a series of commits on top of a new parent when history has changed.That happens with PRs and squash merges quite often.https://stackoverflow.com/a/29916361/1000145 parent timvisee 2 years ago
is also super powerful to put a series of commits on top of a new parent when history has changed.
That happens with PRs and squash merges quite often.
https://stackoverflow.com/a/29916361/1000145