@kyanny's blog

My thoughts, my life. Views/opinions are my own.

なぜ git rebase master はコンフリクトしたとき master 側を常に適用させたいときは --ours ですか?

$ git checkout topic-branch
$ git rebase master

$ git checkout --ours Gemfile.lock
$ git rebase --continue # または git rebase --skip