Open Wenfengcheng opened 5 years ago
CocoaPods
$ pod repo remove master $ pod repo add master https://mirrors.tuna.tsinghua.edu.cn/git/CocoaPods/Specs.git $ pod repo update
https://mirror.tuna.tsinghua.edu.cn/help/CocoaPods/
Homebrew
cd "$(brew --repo)" git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
brew update
https://mirror.tuna.tsinghua.edu.cn/help/homebrew/ References: https://mirror.tuna.tsinghua.edu.cn/
CocoaPods
https://mirror.tuna.tsinghua.edu.cn/help/CocoaPods/
Homebrew
cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core" git remote set-url origin https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/homebrew-core.git
brew update