Monday, February 25, 2013

Github for Windows through proxies

If you're using Github for windows in a corporate environment, there may be chances that your company will be implementing corporate firewalls/proxy. I've checked the Github for Windows application and you won't find any proxy setting implementation there. Lucky for you, there is a way to do it.




To configure your Github:

  • Close your Github
  • Open .gitconfig file typically found at
    C:\Users\<username>\.gitconfig
    or
    C:\Documents & Settings\<username>\.gitconfig
  • Edit .gitconfig file, just add the following lines. Take note to use your own proxy settings!

  • [http]
    proxy = http://proxy.yourcompany.com:8080
    [https]
    proxy = http://proxy.yourcompany.com:8080

If you want to download Github for Windows, you can download it here

No comments:

Post a Comment