以下代碼逐行執行
cd "$(brew --repo)"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
brew update
作者:DifferentWang
來源:CSDN
原文:https://blog.csdn.net/w1293069091/article/details/84888878
版權聲明:本文為博主原創文章,轉載請附上博文鏈接!
