LoginSignup
2
2

More than 5 years have passed since last update.

git で競合したときに自分の変更を適用する方法

Last updated at Posted at 2015-04-08

※本家はこちら

hoge.md が競合した場合に自分の変更を適応する方法

$git checkout --ours hoge.md
$git add hoge.md

ちなみに相手側を適応する場合は

$git checkout --theirs hoge.md
$git add hoge.md
2
2
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
2
2