t / test4012.pngon commit "rebase --onto A...B" replays history on the merge base between A and B (61dfa1b)
t/test4012.png