brew update 遇到错误, 错误信息如下:
Updating Homebrew... Warning: You are using macOS 10.15. We do not provide support for this pre-release version. You will encounter build failures with some formulae. Please create pull requests instead of asking for help on Homebrew's GitHub, Discourse, Twitter or IRC. You are responsible for resolving any issues you experience, as you are running this pre-release version.
- brew doctor
运行后发现源为科大的源, 于是切换回原来的官方的 brew 源
cd "$(brew --repo)" git remote set-url origin https://github.com/Homebrew/brew.git
- brew update
- brew config