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/"
Similar Posts:
- Git Push Github ERROR: Permission to xxx.git denied to user
- How to Solve Error using brew install opencv in MAC
- [Solved] Github Push Error: OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to github.com:443
- [Solved] brew update Error: “fatal: Could not resolve HEAD to a revision”
- Please make sure you have the correct access rights and the repository exists. The problem has been solved when Git clone appears.
- Linux: How to Solve Git clone error
- Git Upload File Error: fatal: could not read from remote repository. [How to Solve]
- [Solved] Git Error: could not read Username for ‘https://github.com’: terminal prompts disabled
- Solution to the error of video codec open failed prompted by TechSmith Camtasia Studio 9 screen recording software
- [Solved]failed to receive handshake ssl/tls connection failed github