首页 > 其他分享 >Git推送报错:unable to access 'https://github.com/xxxxxxxxxxxx.git/': Recv failure: Connection

Git推送报错:unable to access 'https://github.com/xxxxxxxxxxxx.git/': Recv failure: Connection

时间:2023-03-01 14:25:10浏览次数:42  
标签:reset git -- Git 报错 https 推送

Git推送到新分支报错:unable to access 'https://github.com/xxxxxxxxxxxx.git/': Recv failure: Connection was reset

 

原因:连接没有释放

 

解决方案:

1、在git中执行以下命令:

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

 

2、在cmd下执行以下命令:

ipconfig/flushdns

 

3、重新执行推送即可

 

标签:reset,git,--,Git,报错,https,推送
From: https://www.cnblogs.com/poppyCHN/p/17167390.html

相关文章