git pull 的时候出现如下错误
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errfno 10054
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: unpack-objects failed
进行如下设置后再次执行pull命令即可
git config http.postBuffer 524288000
这里命令设置了通信缓存大小,之前发生错误是同步数据过大导致。
这里config的参数可以在文件目录中的config文件中看到
[core]
repositoryformatversion = 0
filemode = false
bare = false
logallrefupdates = true
symlinks = false
ignorecase = true
[remote "origin"]
url = https://github.com/.......
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[gui]
wmstate = normal
geometry = 841x483+111+65 321 218
[http]
postBuffer = 524288000