git rebase --onto どこへ どこから どのブランチを - Qiita
いつもわすれるので$ git rebase --onto どこへ どこから どのブランチをあるブランチがどこから生えているかを変更することができる。例: (まちがって master から切って…