Window Git $ git config --global http.proxy warnin

2020-02-08 22:03发布

Why do I see the following warning?

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

标签: git
1条回答
家丑人穷心不美
2楼-- · 2020-02-08 22:24

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 mentions in the comment a:

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

to get of all http.proxy entries

查看更多
登录 后发表回答