GIT:fatal: the remote end hung up unexpectedly

2,427次阅读
没有评论

共计 303 个字符,预计需要花费 1 分钟才能阅读完成。

git 在 push 过程中,有时候遇到提示:

send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (52/52), 1.25 MiB | 2.23 MiB/s, done.
Total 52 (delta 33), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly

原因是 GIT 缓冲区不够,需要增大缓冲区空间:

git config http.postBuffer 524288000

或者通过 git 配置文件进行修改

[http]  
postBuffer = 524288000
GIT:fatal: the remote end hung up unexpectedly
正文完
加入官方交流QQ群:778957856
post-qrcode
 0
clark
版权声明:本站原创文章,由 clark 于2024-08-24发表,共计303字。
转载说明:除特殊说明外本站文章皆由CC-4.0协议发布,转载请注明出处。
评论(没有评论)

clark

最新文章
macos Shadowrocket与本地DNS冲突

macos Shadowrocket与本地DNS冲突

开着 Shadowrocket,本地 dns 全部失效,都走了代理,无法访问,关闭 Shadowrocket ...
openwrt Tailscale外网不通,以及部分必要设置

openwrt Tailscale外网不通,以及部分必要设置

搭建好 openwrt 之后,为了能够外网远程访问,搭配 Tailscale 可完美实现,由于首次配置,会遇到...
告别复杂配置:用Tailscale Peer Relay打造更快、更简单的内网网络

告别复杂配置:用Tailscale Peer Relay打造更快、更简单的内网网络

如果你在国内直接使用过 Tailscale,大概率会对它的连接速度有所体会。想要获得稳定可用的体验,自建 DE...

赞助广告