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

后端 未结 1 492
傲寒
傲寒 2020-12-14 13:11

Why do I see the following warning?

$ git config --global http.proxy http://172.19.18.22:8080
warning: http.proxy has multiple values
相关标签:
1条回答
  • 2020-12-14 13:43

    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

    0 讨论(0)
提交回复
热议问题