Tag Archives: brew update terminal prompts disabled

brew update terminal prompts disabled

The computer has just upgraded the Mac OS mojave10.14.4, and an error is reported when the brew update is executed

colin-pc:~ colin$ brew update
fatal: could not read Username for 'https://github.com': terminal prompts disabled

Baidu a circle, we have reported an error message

Fetching xxxx failed!

My error report was so unique that I found a big circle and didn’t solve it. Finally, I gave up Baidu and moved out the ladder

At the end of the day http://albertech.blogspot.com/2016/11/fix-git-error-could-not-read-username.html Find the answer [here is ladder X1]

The solution is:

git config --global --add url."[email protected]:".insteadOf "https://github.com/"