Git推送报错解决 could not read Username for 'https://github.com': terminal prompts disabled

git push origin master报错

schannel:failed to receive handshake, SSL/TLS connection failed

git config --global http.sslBackend "openssl"

git config --global http.sslCAInfo "C:\Program Files\Git\mingw64\ssl\cert.pem"

 

could not read Username for 'https://github.com': terminal prompts disabled

git config --global --add url."git@github.com:".insteadOf "https://github.com/"

 

posted @ 2022-01-21 17:09  一人的旅行  阅读(1809)  评论(0)    收藏  举报