1. 程式人生 > >Homebrew 更新慢問題

Homebrew 更新慢問題

url git pull out homebrew git .cn gin pre --

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

Homebrew 更新慢問題