一 背景
Mac 上,使用brew 安装 软件时 ,提示报错如下:Error searching on GitHub: GitHub API Error: Bad credentials The GitHub credentials in the macOS key
,具体报错如下:
Error: GitHub {
"message": "Bad credentials",
"documentation_url": "https://developer.github.com/v3"
}
The GitHub credentials in the OS X keychain may be invalid.
Clear them with:
printf "protocol=https\nhost=gith