赞
踩
remote: Enumerating objects: 357, 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
解决方法:
将缓存Buffer容量调大(特别是如有大文件)
sudo apt install gnutls-bin
git config --global http.sslVerify false
git config --global http.postBuffer 5000000000
如有科学上网,push还是遇到问题的话可以配置代理
git config --global http.proxy 127.0.0.1:1234
git config --global https.proxy 127.0.0.1:1234
地址就是本地回环即可,端口号查看科学上网软件监听的端口并做相应修改
git config --global http.proxy socks5 127.0.0.1:1234
git config --global https.proxy socks5 127.0.0.1:1234
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。