用Git克隆库网络出错

问题描述
今天用SourceTree克隆Git库,报如下错误:
error: RPC failed; curl 56 SSLRead() return error -36
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed

问题解决
git config http.postBuffer 24288000
brew install git --with-brewed-curl --with-brewed-openssl

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注