git clone https://github.com/xxx.xxx.git
报错:
error: RPC failed; curl 56 OpenSSL SSL_read: Connection was reset, errno 10054
error: 36 bytes of body are still expected
fetch-pack: unexpected disconnect while reading sideband packet
fatal: early EOF
fatal: fetch-pack: invalid index-pack output
- 查找该报错,大多数解决方案为:执行git config --global --unset http.proxy和git config --global --unset https.proxy
git init
- 需要git初始化,执行后该目录下生成.git文件夹。
git config http.sslVerify "false"
- 执行完这一步后成功克隆下来本地。