Pages

Saturday, 27 March 2021

解决用brew install命令安装程序所遇到的问题“error: Not a valid ref: refs/remotes/origin/master”

 运行以下命令即可解决问题:

rm -fr $(brew --repo homebrew/core) 
brew tap homebrew/core
from https://github.com/Homebrew/brew/issues/10368

No comments:

Post a Comment