GitHub Windows client behind proxy

后端 未结 9 1526
抹茶落季
抹茶落季 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条回答
  •  Happy的楠姐
    2020-12-02 05:42

    Add these entries to your '.gitconfig' file in your user directory (go to %USERPROFILE%):

    [http]
        proxy = http://:
    
    [https]
        proxy = https://:
    

    And if you don't want to store your password in plaintext, I would use a local proxy forwarder like CNTLM which allows you to direct all traffic through it and can store the passwords hashed.


    Unlike the original question, if you don't care if your password is in plain text add these:

    [http]
        proxy = http://:@:
    
    [https]
        proxy = https://:@:
    

提交回复
热议问题