替换及重置Homebrew默认源

2017-11-15  本文已影响55人  YM_1

替换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
上一篇下一篇

猜你喜欢

热点阅读