When I do ...
brew update
I keep getting this error message ...
From https://github.com/mxcl/homebrew
25c0495..af1d9f1 master -> origin/master
error: Your local changes to the following files would be overwritten by merge:
Library/Formula/postgresql.rb
Please, commit your changes or stash them before you can merge.
I wanted to find the file, and checkout the latest version but I can't even find the folder 'Formula'. Hmm.. So I uninstall postgresql and tried 'brew update' again but encounter same error.
Appreciate if anyone can help me out ?
cd `brew --repository`
git reset --hard HEAD
brew update
Sometimes the above doesn't work. In that case, do
cd `brew --repository`
git reset --hard origin/master
brew update
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With