Window Git $ git config --global http.proxy警告:http.proxy具有多个值 [英] Window Git $ git config --global http.proxy warning: http.proxy has multiple values

查看:573
本文介绍了Window Git $ git config --global http.proxy警告:http.proxy具有多个值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

为什么我看到以下警告?

Why do I see the following warning?

$ git config --global http.proxy http://172.19.18.22:8080
warning: http.proxy has multiple values


推荐答案

简单显示所有三个配置级别(系统,全球和本地),以检查您是否看到多个 http.proxy 配置:

Simple display all three configuration level (system, global and local) in order to check if you see several http.proxy configuration:

git config -l

您可以继续删除额外的一个带有:

You can then proceed to remove the extra one with a:

git config --system (or --global or --local) --unset http.proxy

liwp 在评论中提及a:

liwp mentions in the comment a:

git config --system (or --global or --local) --unset-all http.proxy

获取所有 http。代理条目

这篇关于Window Git $ git config --global http.proxy警告:http.proxy具有多个值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆