git 常见提交慢或者卡住处理

您所在的位置:网站首页 idea提交代码特别慢 git 常见提交慢或者卡住处理

git 常见提交慢或者卡住处理

2023-11-21 14:35| 来源: 网络整理| 查看: 265

git 提交很慢或者卡住writing objects的解决方法

git config --global http.postBuffer 5242880000

git更新或提交中途有时出现The remote end hung up unexpectedly的异常

git config --global http.lowSpeedLimit 0 git config --global http.lowSpeedTime 999999

fatal: Out of memory, malloc failed问题的解决

git config --global pack.windowMemory 1024m

上传github访问速度慢的一种优化方法 通过绕过DNS解析,直接在本地绑定host 在浏览器中打开DNS查询网站http://tool.chinaz.com/dns,我们输入github.com 点击检测,在下方的结果列表中,选择TTL值小的IP地址 192.30.255.113 接着我们打开本地电脑的C:\Windows\System32\drivers\etc目录,找到hosts文件 添加 

192.30.255.113    github.com 157.240.12.50    github.global.ssl.fastly.net(同添加github.com一样)

打开cmd 刷新dns

ipconfig /flushdns

 



【本文地址】


今日新闻


推荐新闻


CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3