Fix brew update error


When run brew update, I got an error:

$ brew update
error: The following untracked working tree files would be overwritten by merge:
    Library/Formula/tcpstat.rb
    Library/Formula/titlecase.rb
Please move or remove them before you can merge.
Aborting
Error: Failure while executing: git pull --ff --no-rebase --quiet origin refs/heads/master:refs/remotes/origin/master

By below steps, I resolved the issue:

$ cd `brew --prefix`
$ git fetch origin
$ git reset --hard origin/master
Checking out files: 100% (1704/1704), done.
HEAD is now at 4b0be8a openexr: fix build on 32-bit targets
$ brew update
To restore the stashed changes to /usr/local run:
  `cd /usr/local && git stash pop`
Already up-to-date.