Does git clone work through NTLM proxies?

前端 未结 9 1405
情书的邮戳
情书的邮戳 2020-12-04 18:30

I\'ve tried both using export http_proxy=http://[username]:[pwd]@[proxy] and git config --global http.proxy http://[username]:[pwd]@[proxy].

9条回答
  •  一整个雨季
    2020-12-04 18:50

    Default NTLM credentials

    In order to use default NTLM credentials, provide an empty username and password

    git config --global http.proxy https://:@proxy:port
    

    Firewall Client for ISA Server

    Instead of setting proxy for git, npm, etc. you can use Firewall Client for ISA Server from Microsoft. After installation:

    Start > Autostart > Microsoft Firewall Client Management

    Settings tab > Manual specified ISA Server > proxy:port Web Browser tab > Uncheck "Enable web browser automatic configuration."

提交回复
热议问题