当准备克隆一个GitHub的项目时,突然出现了如下错误:
luvsta:vue-demo aixing$ git clone https://github.com/TigerChain/vue-lesson.git
Cloning into 'vue-lesson'...
remote: Enumerating objects: 22764, 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 524288000
- 再执行git clone