第一种方法:
$cd/usr/local
$ git remote add origin git://github.com/mxcl/homebrew.git
fatal: remote origin already exists.
$ git fetch origin
$ brew update
Already up-to-date
第二种方法:
cd `brew --prefix`
git remote add origin https://github.com/Homebrew/homebrew.git
git fetch origin
git reset --hard origin/master
brew update
PS: 有什么问题欢迎留言。