Recent projects to enter the new spring, you need to clone a copy of the latest code, in the use of Terminal clone, repeated the following error:
Error:rpc failed; Curl transfer closed with outstanding read data remaining
Fatal:the remote end hung up unexpectedly
Fatal:early EOF
Fatal:index-pack failed
Reason Description:
Our project is so old that it makes the whole project more complex and huge. This error occurs because Curl's Postbuffer default value is too small to reset the value on the terminal.
Workaround:
git config–global http.postbuffer 524288000
524288000 represents b,524288000b, which is 500MB. This is worth the size and can be set according to the project as appropriate.
You can also use the following command to see if the configuration was successful:
Git config–list
Note: Two commands-all two consecutive--please be aware of the distinction.
The highlighted section indicates that we have been configured successfully. Have you learned that?
Reference Link: Http://stackoverflow.com/questions/17683295/git-bash-error-rpc-failed-result-18-htp-code-200b-1kib-s http ://blog.csdn.net/ijibu/article/details/10830853 http://blog.csdn.net/snails_zx/article/details/54587132