#brew.gitを交換してください: $ CD " $(BREW --repo)" #中国HKUST: $リモートSETをgitの起源HTTPS -url:// mirrors.ustc.edu.cn/brew.git #清華大学: $ gitのリモートSET起源-url HTTPS:// mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git #自作置き換える - core.git: $ CD " $(BREW --repo)/ライブラリ/タップ/自作/コア-自作" #中国HKUST: $ SETリモートgitの:-url起源HTTPS // mirrors.ustc.edu.cn/homebrew-core.git #清華大学: $リモートSETをgitの起源HTTPS -url://をmirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git #自作置き換える - ボトル: #中国HKUST: $ エコー " 輸出HOMEBREW_BOTTLE_DOMAIN = HTTPS://mirrors.ustc.edu.cn/homebrew-bottles ' >>〜/ .bash_profileの $ソース〜/ .bash_profileの #清華: $ エコー ' 輸出HOMEBREW_BOTTLE_DOMAIN = HTTPS://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles " >>〜/ .bash_profileの $ソース〜 / .bash_profileを 有効にする#アプリケーション: $ BREW更新
公式のソースを切り替えます
#重置brew.git: $ CD " $(醸造--repo)" $ gitのリモート設定 -url起源ます。https:// github.com/Homebrew/brew.git #重置自作 - core.git: $のCD " $(BREW --repo)/ライブラリ/タップ/自作/自作コア" $ gitのリモートセット -url起源ます。https:// github.com/Homebrew/homebrew-core.git