【git】git rebaseでコンフリクトしたとき

1 2 3 4 5 6 7 8 9 10 11 12 |
git fetch # ローカルを最新化 git checkout master # masterへ移動 git pull # masterを最新化 git checkout branch # 操作ブランチへ移動 git rebase master #歴史改変 # コンフリクトを修正 git rebase --continue # コンフリクトがなくなるまで繰り返す git reset master # ゴミになっているコミットを削除 git add . git commit -m "aaa" |