當準備克隆一個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