問(wèn)題1
fatal: unable to access 'https://github.com/.......': OpenSSL SSL_read: Connection was reset, errno 10054
解決方法:不驗(yàn)證 SSL :
git config --global http.sslVerify "false"
問(wèn)題2
fatal: unable to access 'https://github.com/......': Failed to connect to github.com port 443: Timed out
解決方法:取消代理
git config --global --unset http.proxy
git config --global --unset https.proxy
設(shè)置代理
git config --global http.proxy http://127.0.0.1:7890
git config --global https.proxy http://127.0.0.1:7890

參考資料1:https://stackoverflow.com/questions/783811/getting-git-to-work-with-a-proxy-server-fails-with-request-timed-out
參考資料2:https://blog.csdn.net/Hodors/article/details/103226958 (的評(píng)論區(qū))


問(wèn)題3
error: RPC failed; curl 28 OpenSSL SSL_read: Connection was reset, errno 10054 fatal: expected flush after ref listing
解決方法:
git config --global http.sslVerify "false"