在用brew安裝新的軟件的時候一直出現:
Updating Homebrew...
主要是因為它試圖在連接國外的源,
改成國內的源就好了:
#替換brew.git: cd "$(brew --repo)" git remote set-url origin https://mirrors.ustc.edu.cn/brew.git #替換homebrew-core.git: cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git