
ショコラ
git merge origin master したらエラーになってマージができない
「git stash」で変更のあったファイルをスタッシュに入れるか、「git checkout {エラーになったファイル}」でファイルを元にもどすかでキメマス。

もっさん先輩
①git stash でスタッシュに入れる。
git stash
②git checkout でファイルを元に戻す。
git checkout {エラーになったファイル}
シチュエーション
git merge origin master を実行したところ、以下のエラーになっていまいマージ ができなかった。
$ git merge origin master
error: Your local changes to the following files would be overwritten by merge:
{エラーになったファイル}
Please, commit your changes or stash them before you can merge.
Aborting