git更新代碼時(shí)顯示"auto-detection of host provider took too long"移除方法
問題描述
在windows操作系統(tǒng),未連接互連網(wǎng)電腦,更新內(nèi)網(wǎng)代碼庫(kù)時(shí)顯示“auto-detection of host provider took too long (>2000ms)”,如下圖所示。
解決方法
使用記事本打開%userprofile%
目錄下的.gitconfig
文件,在其中添加如下配置并保存即可。文章來源:http://www.zghlxwxcb.cn/news/detail-822774.html
[credential "http://192.168.1.1:8080"]
provider = generic
若其中http://192.168.1.1:8080是出現(xiàn)檢測(cè)供應(yīng)端超時(shí)的網(wǎng)址,根據(jù)需要更新對(duì)應(yīng)值更新對(duì)應(yīng)值文章來源地址http://www.zghlxwxcb.cn/news/detail-822774.html
到了這里,關(guān)于git更新代碼時(shí)顯示“auto-detection of host provider took too long“移除方法的文章就介紹完了。如果您還想了解更多內(nèi)容,請(qǐng)?jiān)谟疑辖撬阉鱐OY模板網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章,希望大家以后多多支持TOY模板網(wǎng)!