解决unable to access ‘https://github.com/xxx/xxx.git/‘: OpenSSL SSL_read: Connection was reset, errno

# 关联远程仓库后,把本地库的所有内容推送到远程库上时报错:unable to access ‘https://github.com/juanjuan-thy/jenkins_project.git/’: OpenSSL SSL_read: Connection was reset, errno 10054

报错如下:
在这里插入图片描述

解决办法:
分别输入两行命令

git config --global --unset http.proxy

git config --global --unset https.proxy

在这里插入图片描述

然后再次执行关联命令

git remote add origin git [github上面以http开头的url]

在这里插入图片描述
在运行命令

git push -u origin master

解决unable to access ‘https://github.com/xxx/xxx.git/‘: OpenSSL SSL_read: Connection was reset, errno_第1张图片

就成功上传了

你可能感兴趣的:(github,git,python)