diary

Time is your most valuable asset (till immortality)

View the Project on GitHub boyangwang/diary

use CN mirror

cd “$(brew –repo)” git remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git

cd “$(brew –repo)/Library/Taps/homebrew/homebrew-core” git remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git

brew update

echo ‘export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles’ » ~/.bash_profile source ~/.bash_profile

rollback default

$ cd “$(brew –repo)” $ git remote set-url origin https://github.com/Homebrew/brew.git

$ cd “$(brew –repo)/Library/Taps/homebrew/homebrew-core” $ git remote set-url origin https://github.com/Homebrew/homebrew-core.git