fatal: the remote end hung up unexpectedly

 

git clone ssh://xxxxxx.git

平时down仓库的代码,一下就ok。

今天down代码试了三次,都没down下来

 

 

fatal: the remote end hung up unexpectedly

 

一开始以为哪里配置错了,还是公钥添加错了

 

后来百度发现是因为文件太大,需要配置一下buffer的大小

git config --global http.postBuffer 1048576000

 

配置后,重新down代码就可以了

发表评论

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

滚动至顶部