解决git的the remote end hung up问题

作者:烟中隐约闪现 | 创建时间: 2023-08-07
使用git更新或提交中途有时出现The remote end hung up unexpectedly的异常,特别是资源库在国外的情况下。此问题可能由网络原因引起。...
解决git的the remote end hung up问题

操作方法

配置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 查看其它可配置项

点击展开全文

更多推荐