pony
pony

Reputation: 423

Window Git $ git config --global http.proxy warning: http.proxy has multiple values

Why do I see the following warning?

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

Upvotes: 9

Views: 21273

Answers (1)

VonC
VonC

Reputation: 1329942

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

Upvotes: 21

Related Questions