eclipse中git推送上传错误 没有足够的数据写入

 

Can't connect to any repository: https://github.com/jiashubing/test.git (https://github.com/jiashubing/test.git: insufficient data written)
-----------------------------------------
网上有说法如下

原因:http.postBuffer默认上限为1M。
解决办法:在git的配置里将http.postBuffer变量改大一些即可,比如将上限设为500M:
git config --global http.postBuffer 524288000,之后就能顺利上传了。
-------------------------------------------
这以后出现了问题,一直卡着不动了,。。。。

再然后,又出现了最开始的问题 insufficient data written、
-------------------------------------
最终解决方案:使用SSH 方式上传下载,刚开始是使用HTTPS 的方式,多试几次就行

 

原文地址:https://www.cnblogs.com/acm-bingzi/p/eclipseQuestion1.html