【git】git rebaseでコンフリクトしたとき Git Posted by: 2020年1月23日 no comments yet <スポンサーリンク> 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" 123456789101112 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" <スポンサーリンク> older newer コメントを残す コメントをキャンセルAllowed tags: you may use these HTML tags and attributes: <a href="">, <strong>, <em>, <h1>, <h2>, <h3>Please note: all comments go through moderation. Name (required) Email (required) Website キャプチャコード * Δemail confirm* post date* 日本語が含まれない投稿は無視されますのでご注意ください。(スパム対策)