📅  最后修改于: 2022-03-11 15:00:04.993000             🧑  作者: Mango
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)"
###
Install homebrew.
solve errors such as below:
: ambiguous argument 'refs/remotes/origin/master': unknown revision or path not in the working tree.
###