解决git的the remote end hung up问题

2026-02-24 12:59:46

1、配置git的最低速度和最低速度时间:

git config --global http.lowSpeedLimit 0

git config --global http.lowSpeedTime 999999         单位 秒

--global配置对当前用户生效,如果需要对所有用户生效,则用--system

官方文档截图

解决git的the remote end hung up问题

2、再次提交或更新:

配置完成后,重新执行提交或更新命令即可。

可以通过man git-config或到 https://git-scm.com/docs/git-config.html 查看其它可配置项

声明:本网站引用、摘录或转载内容仅供网站访问者交流或参考,不代表本站立场,如存在版权或非法内容,请联系站长删除,联系邮箱:site.kefu@qq.com。
猜你喜欢