How to temporarily disable git http proxy

后端 未结 3 988
北恋
北恋 2020-12-03 01:10

I am using git behind a corporate firewall, and I am successfully cloning external projects by using the http.proxy --global config.

My problem arises when I want to

3条回答
  •  忘掉有多难
    2020-12-03 02:05

    In my case, I was able to disable git clone requests going through the proxy in my corporate setting by executing

    git config --global --add remote.origin.proxy ""

    As per the git documentation, this disables all requests to that remote repo named origin.

提交回复
热议问题