Git 克隆出现错误
$ git clone https://github.com/PanJiaChen/vue-element-admin.git
Cloning into 'vue-element-admin'...
remote: Enumerating objects: 11844, 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默认缓存大小不足导致的。
解决方法是:使用下面的命令增加缓存大小
git config --global http.postBuffer 2000000000