git clone https://XXXX.git 报错 TCP connection reset by peer

 

git clone  github上的代码有时候能下来,有时候报错TCP connection reset by peer

查看stackoverflow找到了解决方法

把git换成https就行了

 

posted @ 2021-03-01 11:13  李_轩  阅读(1203)  评论(2编辑  收藏  举报