survivors@sdeMacBook-Pro ~ % git clone git://mirrors.ustc.edu.cn/homebrew-core.git/ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Counting objects: 5105, done.
remote: Compressing objects: 100% (4904/4904), done.
remote: Total 5105 (delta 44), reused 886 (delta 5)
Receiving objects: 100% (5105/5105), 4.14 MiB | 1.17 MiB/s, done.
Resolving deltas: 100% (44/44), done.
survivors@sdeMacBook-Pro ~ % cd "$(brew --repo)"
survivors@sdeMacBook-Pro Homebrew % git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
survivors@sdeMacBook-Pro Homebrew % cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
survivors@sdeMacBook-Pro homebrew-core % git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
survivors@sdeMacBook-Pro homebrew-core % brew update
Already up-to-date.
? tanli@tanli-MacBook-Pro ~ sudo git clone git://mirrors.ustc.edu.cn/homebrew-core.git/ /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1
Password:
Cloning into '/usr/local/Homebrew/Library/Taps/homebrew/homebrew-core'...
remote: Enumerating objects: 6359, done.
remote: Counting objects: 100% (6359/6359), done.
remote: Compressing objects: 100% (6054/6054), done.
remote: Total 6359 (delta 87), reused 2747 (delta 56), pack-reused 0
Receiving objects: 100% (6359/6359), 6.65 MiB | 1.36 MiB/s, done.
Resolving deltas: 100% (87/87), done.
tanli@tanli-MacBook-Pro ~ cd "$(brew --repo)"
tanli@tanli-MacBook-Pro /opt/homebrew stable git remote set-url origin https://mirrors.ustc.edu.cn/brew.git
tanli@tanli-MacBook-Pro /opt/homebrew stable cd "$(brew --repo)/Library/Taps/homebrew/homebrew-core"
tanli@tanli-MacBook-Pro /opt/homebrew/Library/Taps/homebrew/homebrew-core master git remote set-url origin https://mirrors.ustc.edu.cn/homebrew-core.git
tanli@tanli-MacBook-Pro /opt/homebrew/Library/Taps/homebrew/homebrew-core master brew update
Already up-to-date.
tanli@tanli-MacBook-Pro /opt/homebrew/Library/Taps/homebrew/homebrew-core master cd
tanli@tanli-MacBook-Pro ~ brew search node
==> Formulae
libbitcoin-node node-build node@14 nodeenv
linode-cli node-sass node@16 nodenv
llnode node@10 node_exporter ode
node node@12 nodebrew
==> Casks
nodebox nodeclipse
If you meant "node" specifically:
It was migrated from homebrew/cask to homebrew/core.
tanli@tanli-MacBook-Pro ~
|