LoginSignup
0
0

More than 3 years have passed since last update.

[Git]画像がコンフリクトした場合の対処

Posted at

画像がコンフリクトしてしまったみたい。
ブランチごとに別々に入れちゃったら起きるらしい。
この場合は、

git checkout --theirs ファイル名

とすれば直りました。

--therisともう一つ--oursっていうオプションがあって以下のような違いがあります。

--theirs //今のブランチじゃない方を優先したい場合
--ours //今のブランチの方を優先したい場合
0
0
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
0
0