第一种错误,
$ git clone https://github.com/lwfinger/rtl8188eu.git
Cloning into 'rtl8188eu'...
remote: Enumerating objects: 106, done.
remote: Counting objects: 100% (106/106), done.
remote: Compressing objects: 100% (74/74), done.
error: RPC failed; curl 56 OpenSSL SSL_read: SSL_ERROR_SYSCALL, errno 10054
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法
$ git config http.sslVerify "false"
第二种错误
$ git clone https://github.com/lwfinger/rtl8188eu.git
Cloning into 'rtl8188eu'...
remote: Enumerating objects: 106, done.
remote: Counting objects: 100% (106/106), done.
remote: Compressing objects: 100% (74/74), done.
error: RPC failed; curl 18 transfer closed with outstanding read data remaining
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决方法
$ git config --global http.postBuffer 52428800
$ git config --list | grep postbuffer
http.postbuffer=52428800