GitHub Windows client behind proxy

后端 未结 9 1529
抹茶落季
抹茶落季 2020-12-02 04:40

I\'m trying to get the GitHub client for Windows working. I am on a corporate Win 7 x64 computer behind a corporate proxy and firewall. Following various other posts and exp

9条回答
  •  隐瞒了意图╮
    2020-12-02 05:19

    Here is the way to set proxy in github

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

    Here in my college we don't have username and password, so if our college ip is 172.16.10.10 and port is 8080

    git config --global http.proxy http://172.16.10.10:8080
    git config --global https.proxy http://172.16.10.10:8080
    

    P.S -> I would recommend using this method to set proxy as things will fall into place as you will learn further
    Source

提交回复
热议问题