hsm-hx / git-practice

Git完全理解するぞ
0 stars 0 forks source link

merge ours、これなに? #31

Closed hsm-hx closed 5 years ago

hsm-hx commented 5 years ago

溜息しか出ないが

hsm-hx commented 5 years ago

git merge [branch]でconflictが起きたとき、git checkout [--ours|--theirs] [file]で今いるブランチまたはマージ先ブランチの当該ファイルをそのまま持ってくることができる