brew update failure while executing git checkout

来源:互联网 发布:原油eia数据公布网站 编辑:程序博客网 时间:2024/06/07 01:11
$ cd `brew --prefix`$ git remote add origin https://github.com/mxcl/homebrew.git$ git fetch origin$ git reset --hard origin/master$ brew update
转自【http://stackoverflow.com/questions/9370552/brew-update-failure-while-executing-git-checkout】
原创粉丝点击