您的位置首页百科知识

解决git的the remote end hung up问题

解决git的the remote end hung up问题

的有关信息介绍如下:

解决git的the remote end hung up问题

使用git更新或提交中途有时出现The remote end hung up unexpectedly的异常,特别是资源库在国外的情况下。此问题可能由网络原因引起。

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

git config --global http.lowSpeedLimit 0

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

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

官方文档截图

再次提交或更新:

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

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