【教程】Vscode使用Git上传Github问题集

Failed to connect to github.com port 443: Timed out

该提示含义是通过443端口连接github.com错误。 事实上,访问github由于网络原因,经常无法访问,所以我们

git config --global --unset http.proxy#删除配置
git config --global http.proxy 127.0.0.1:xxxx#根据自己的代理插件设置全局端口
git config --local http.proxy 127.0.0.1:xxxx #为某个 git 项目单独设置代理

解决 failed unable to access ‘***.git/‘:OpenSSL SSL_read: Connection was reset, errno 10054

    有 打开Git命令页面,执行git命令脚本:修改设置,解除ssl验证
git config --global http.sslVerify "false"
    还有
    也有
记录一次git clone 失败 在git bash执行下面的命令
git config --global http.sslBackend "openssl"

git 提交报错 error: RPC failed; curl 92 HTTP/2 stream 0 was not closed cleanly: PROTOCOL_ERROR (err 1)

解决fatal: unable to access ‘https://github.com/***/***.git/‘: Empty reply from server

经验分享 程序员 微信小程序 职场和发展