问题
When I try to clone the repository from TFS, I ended up with the below error :
Cloning into 'Repo'... error: RPC failed; curl 56 Illegal or missing hexadecimal sequence in chunked-encoding fatal: The remote end hung up unexpectedly fatal: early EOF fatal: index-pack failed
Tried many solutions by increasing buffer size but none of them worked for me.
回答1:
I had the same problem while commiting/pushing and The remote end hung up unexpectedly while git cloning helped by raising the buffer with a command like
git config --global http.postBuffer 524288000
回答2:
There is a similar error during Git clone process Git Clone Fails - error: RPC failed; result=56, HTTP code = 200 Please try the solution in the link.
Execute the following in the command line before executing the Git command:
1 set GIT_TRACE_PACKET=1
2 set GIT_TRACE=1
3 set GIT_CURL_VERBOSE=1
回答3:
The problem is maybe the type of compression used, try different type of compression :
git config --global core.compression 1
or
git config --global core.compression 9
or
git config --global core.compression 0
or
git config --global core.compression 6
Chances are one of thoses will solve your problem
来源:https://stackoverflow.com/questions/37277314/git-cloning-process-failes-with-curl-56-error