• 追加された行はこの色です。
  • 削除された行はこの色です。
* git rebase [#ifbe8753]
* コンフリクト時の対応 [#ifbe8753]

** コンフリクトの解消 [#j168f5e3]
*** コンフリクトするまで [#ae989d59]
** コンフリクトするまで [#ae989d59]
 git checkout master
 git rebase branch1.0
 
 ...
 Auto-merging foo.txt
 CONFLICT (content): Merge conflict in foo.txt
 ...
マスターに戻ってブランチをrebaseしようとしたが、foo.txtがコンフリクトした。

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

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



トップ   新規 一覧 検索 最終更新   ヘルプ   最終更新のRSS