Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

git

Why do I see the following warning?

$ git config --global http.proxy http://172.19.18.22:8080
warning: http.proxy has multiple values
like image 512
pony Avatar asked Jun 30 '11 02:06

pony


1 Answers

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

like image 162
VonC Avatar answered Oct 20 '22 11:10

VonC