fatal: The remote end hung up unexpectedly 报错
git push 后不上传不了
报错内容
Counting objects: 110, done.
Compressing objects: 100% (93/93), done.
Writing objects: 100% (110/110), 168.57 KiB | 414.00 KiB/s, done.
Total 110 (delta 9), reused 0 (delta 0)
packet_write_wait: Connection to 13.250.xxx.xxx port 22: Broken pipe
fatal: The remote end hung up unexpectedly
fatal: The remote end hung up unexpectedly
修复方式
在百度搜索了以后给出的答案是
在C:\Users\wangshikun\Code\sample.git\config 里面增加
[http]
postBuffer = 52428800
意思是git 压缩上传的大小有限制
用着个方式解决了.具体原因还是不知道.
注意
不过在使用码云的时候没有修改也是可以上传的 也不排除是网络卡顿的原因
推荐文章: