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

具体报错
fatal: The remote end hung up unexpectedly
error: RPC failed; curl 18 transfer closed with outstanding read data remaining

解决方法
Git config –global http.postBuffer 524288000

需要注意的是http.postBuffer 后,单位是b,524288000B也就500M左右

    原文作者:like_sunflower
    原文地址: https://www.jianshu.com/p/c29a8d863c0a
    本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系博主进行删除。
点赞