hit counter

Timeline

My development logbook

Brew Local Modification Error and Solution

1
2
3
4
5
6
$ brew update
       error: Your local changes to the following files would be overwritten by  merge:
        Library/Formula/erlang.rb
      Please, commit your changes or stash them before you can merge.
      Aborting
      Error: Failure while executing: git pull -q origin refs/heads/master:refs/remotes/origin/master

Solution

1
2
3
$ cd `brew --prefix`
$ cd Cellar/erlang/
$ git reset --hard HEAD