当前位置:   article > 正文

【git bug】warning: auto-detection of host provider took too long (>2000ms)

warning: auto-detection of host provider took too long (>2000ms)

【git bug】warning: auto-detection of host provider took too long (>2000ms)

报错问题:

warning: auto-detection of host provider took too long (>2000ms)

报错截图:

在这里插入图片描述

报错描述:
windows操作系统,未连接互连网电脑,更新内网代码库时显示“auto-detection of host provider took too long (>2000ms)”。

解决方法

使用记事本打开%userprofile%目录下的.gitconfig 文件,在其中添加如下配置并保存即可。

[credential "http://192.168.1.1:8080"]
	provider = generic
  • 1
  • 2

如图:

在这里插入图片描述

若其中http://192.168.1.1:8080是出现检测供应端超时的网址,根据需要更新对应值更新对应值。

在这里插入图片描述

OK

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/神奇cpp/article/detail/811440
推荐阅读
相关标签
  

闽ICP备14008679号