ローカルの変更を破棄してpullする方法 - meruneru/tech_memo GitHub Wiki
git pullするとconflictが発生して更新できなかった。
$ git pull
error: Pulling is not possible because you have unmerged files.
hint: Fix them up in the work tree, and then use 'git add/rm <file>'
hint: as appropriate to mark resolution and make a commit.
fatal: Exiting because of an unresolved conflict.
ローカルの変更は破棄して、リモートリポジトリの変更を取り込むようにした。
$ git fetch --all
$ git reset --hard origin/master