目录
一. 问题
今天拉取代码,出现如下所示错误:
error: RPC failed; curl 56 GnuTLS recv error (-9): A TLS packet with unexpected length was received.
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
Failed during: git fetch origin --force
迟迟拉不下来.
二. 解决
# 如果是针对当前项目(5G Buffer Storage)
$ git config --local http.postBuffer 5000000000
# 如何是针对全局项目(5G Buffer Storage)
$ git config --global http.postBuffer 5000000000
(完)