git 报错 RPC failed; curl 18 transfer closed with outstanding read data remaining

来源:互联网 发布:php 编译mysql 编辑:程序博客网 时间:2024/05/16 17:45

这个错误是因为项目太久,tag资源文件太大

找了很久网上都说这样:

配置如下:
$ git  config --global http.postBuffer 24288000
$ git config --list

如果还不行呢

$ git clone http://github.com/large-repository --depth 1$ cd large-repository$ git fetch --unshallow

0 0
原创粉丝点击