ITeye博客

homebrew源更新

fairy_xzc · 2018-09-18 09:27 · IDE · 操作系统 · Markdown

替换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 

 

重置brew.git:

cd "$(brew --repo)"

git remote set-url origin https://github.com/Homebrew/brew.git

 

重置homebrew-core.git:

cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"

git remote set-url origin https://github.com/Homebrew/homebrew-core.git

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。