阅读借鉴 https://www.cnblogs.com/demingblog/p/11436602.html
(1)brew config查看现在镜像源(ORIGIN:https://github.com/Homebrew/brew.git 之前未操作过则会显示这个链接,也就是官方镜像源)
(2)替换 brew.git
cd"$(brew --repo)"git remoteset-url origin https://mirrors.ustc.edu.cn/brew.git
(3)替换 homebrew-core.git
cd"$(brew --repo)/Library/Taps/homebrew/homebrew-core"git remoteset-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
(4)brew config查看更换后的镜像源(ORIGIN: https://mirrors.ustc.edu.cn/brew.git 说明更换成功)
然后再次进行brew update就可以了,感谢此原作者 ^_^ !