github clone的时候出现问题:
Cloning into 'fast'...
remote: Enumerating objects: 71, done.
remote: Counting objects: 100% (71/71), done.
remote: Compressing objects: 100% (51/51), done.
client_loop: send disconnect: Connection reset by peerB/s
fatal: the remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
解决办法:
当推送大量数据时(初始推送大型存储库,使用非常大的文件进行更改)可能需要 http.postBuffer 在 git 客户端 (而不是服务器)上设置更高的 设置 ;将 Git 缓冲区大小增加到 repo 的最大单个文件大小:
git config --global http.postBuffer 157286400