Homebrew 更新慢问题

cd "$(brew --repo)"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
git checkout master
git pull origin master

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
git checkout master
git pull origin master

brew update

 

posted @ 2018-10-24 20:07  梁颖666  阅读(459)  评论(0编辑  收藏  举报