Error: Fetching /opt/homebrew/Library/Taps/homebrew/homebrew-core failed
fatal: invalid upstream 'origin/master'
Run unintsall script :- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/uninstall.sh)"
Set Git Compression :- git config --global core.compression 0
Set Git buffer size :- git config --global http.postBuffer 1048576000
Run installation script :- /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
error: RPC failed; curl 56 LibreSSL SSL_read: Connection reset by peer, errno 54
error: 3884 bytes of body are still expected
git config --global https.postBuffer 2097152000
curl: (35) LibreSSL SSL_connect: SSL_ERROR_SYSCALL in connection to raw.githubusercontent.com:443
修改为国内镜像安装
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"