Git error: fatal: unable to connect a socket (Invalid argument)

前端 未结 7 1098
情话喂你
情话喂你 2020-12-07 13:11

I\'ve got msysGit (Git on Windows) working just fine on my home machine, but at work, where we are behind a Microsoft ISA proxy, I get the following error when I do a git cl

7条回答
  •  暖寄归人
    2020-12-07 14:01

    Do you have SOCKS proxy? If you have, you caould try FreeCap to socksify your git connection. I've been using git this way for a while.

    If not, still try FreeCap. IIRC it might be able to use http proxies, but I haven't tried that.

    EDIT: I usualy socksify cmd.exe using FreeCap, and from then on (almost) all cmdline programs that I start from that session are socksified too. That's why I recommended Free Cap, since SocksCap (another alternative) doesn't work that way.

    As for using http.proxy, it for some reason never worked for me with mingw version and my company http proxies.

提交回复
热议问题