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

前端 未结 19 2743
旧时难觅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:35

    After tirelessly trying every solution on this page, my work around was to use and SSH key instead!

    1. Open Git Bash
    2. $ ssh-keygen.exe -t rsa -C
    3. Open your Git provider (Github, Bitbucket, etc.)
    4. Add copy the id_rsa.pub file contents into Git provider's input page (check your profile)

提交回复
热议问题