* コンフリクト時の対応 [#ifbe8753]

** コンフリクトするまで [#ae989d59]
マスターに戻ってブランチをrebaseしようとしたが、

 git checkout master
 git rebase branch1.0
 
 ...
 Auto-merging foo.txt
 CONFLICT (content): Merge conflict in foo.txt
 ...
マスターに戻ってブランチをrebaseしようとしたが、foo.txtがコンフリクトした。

foo.txtがコンフリクトした。

** コンフリクトの解消 [#r0f9957e]
 vim foo.txt
 (エディタでコンフリクトを修正)
 git add foo.txt
 git rebase --continue

** (解消する代わりに)マスターをコンフリクト前の状態に戻す [#m5ccf618]
 git rebase --abort
これでgit rebase branch1.0する前の状態に戻った。

トップ   編集 差分 バックアップ 添付 複製 名前変更 リロード   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS