学无先后,达者为师

网站首页 编程语言 正文

git clone 失败

作者:正在攀登的小蜗牛 更新时间: 2022-04-01 编程语言

现象

PS E:\workspace\go_workspace> git clone https://github.com/xxxxx
Cloning into 'xxxx'...
fatal: unable to access 'https://github.com/xxxxx/': OpenSSL SSL_read: Connection was aborted, errno 10053

解决办法

PS E:\workspace\go_workspace> git config --global http.postBuffer 524288000

现象

PS E:\workspace\go_workspace> git clone https://github.com/xxxxxxx/xxxx.git
Cloning into 'xxxx'...
fatal: unable to access 'https://github.com/xxxt/': Failed to connect to github.com port 443: Timed out

解决办法

PS E:\workspace\go_workspace> git config --global --unset http.proxy
PS E:\workspace\go_workspace> git config --global --unset https.proxy
PS E:\workspace\go_workspace> git clone https://github.com/xxxxx
Cloning into 'xxxx'...
remote: Enumerating objects: 103, done.
remote: Counting objects: 100% (103/103), done.
remote: Compressing objects: 100% (77/77), done.

原文链接:https://blog.csdn.net/qq_21127151/article/details/121059073

栏目分类
最近更新