GitHub 使ってるとブラウザ上の PR と整合性が取れなくなるからそんなに使うことはないかもだけど、個人のプロジェクトで過去改変したいときに --rebase-merges (-r) オプションを使う $ git rebase -i --rebase-merges <commit hash> --rebase-merges[=(rebase-cousins|no-rebase-cousins)] By default, a rebase will simply drop merge commits from the todo list, and put the rebased commit…