IDEA 提交代码到 GitHub 时发生错误

错误一:

fatal: unable to access 'https://github.com/xxxxx.git/': OpenSSL SSL_read: Connection was reset, errno 10054

解决方法:

解除 SSL 验证。

git config --global http.sslVerify "false"
git config --global https.sslVerify "false"

错误二:

fatal: unable to access 'https://github.com/xxxxx.git/': Failed to connect to github.com port 443 after 21126 ms: Timed out

解决方法:

取消代理设置。

git config --global --unset http.proxy
git config --global --unset https.proxy

你可能感兴趣的:(intellij-idea,github,gitee,大数据,java)