当你在bitbucket上托管一个项目时,此时你想git clone一个.git文件下来时报错并提示:**Connection to bitbucket.org closed by remote host..00 KiB/s
fatal: The remote end hung up unexpectedly
fatal: early EOF
fatal: index-pack failed
如下图所示:
此时你只需要在终端运行
git config –global http.postBuffer 1048576000该命令即可
详情请点击http://stackoverflow.com/questions/6842687/the-remote-end-hung-up-unexpectedly-while-git-cloning
遇到新问题:
网上找的解决方案: