Getting Git to work with a proxy server - fails with “Request timed out”

前端 未结 19 2461
旧时难觅i
旧时难觅i 2020-11-22 05:09

How do I get Git to use a proxy server?

I need to check out code from a Git server, but it shows \"Request timed out\" every time. How do I get around this?

相关标签:
19条回答
  • 2020-11-22 05:47

    here is the proxy setting

    git config --global http.proxy http://<username>:<pass>@<ip>:<port>
    git config --global https.proxy http://<username>:<pass>@<ip>:<port>
    
    0 讨论(0)
提交回复
热议问题