brew update 错误 git: 'credential-osxkeychain' is not a git command
Macbook 上 brew update 时报错:git: 'credential-osxkeychain' is not a git command. See 'git --help'.
具体错误代码如下:
# brew update
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
git: 'credential-osxkeychain' is not a git command. See 'git --help'.
fatal: could not read Username for 'https://github.com': terminal prompts disabled
Error: homebrew/homebrew-dupes does not exist! Run 'brew untap homebrew/homebrew-dupes'
Updated 1 tap (homebrew/cask).
No changes to formulae.
解决办法是输入 brew untap homebrew/homebrew-dupes: