LoginSignup
6
5

More than 5 years have passed since last update.

both deleted

Last updated at Posted at 2014-10-31

git でバイナリファイルをmergeしたときに、conflictの解消に悩んだので、メモ。

both deleted:
git rm path/to/file

both modified:
git checkout --(ours|theirs) path/to/file

added by them:
added by us:
必要な方を git checkout --(ours|theirs) path/to/file
いらない方を git rm path/to/file

最後に
git add path/to/file
git commit

6
5
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
6
5