Skip to content

Use proxy settings from git config #1125

Closed

Description

@csmager

I'm using Windows and have the proxy set in Internet Options (which most apps will use) and in my git config (which git will use)... yet git lfs still tries to connect directly and fails when it times out.

It took me a while to track down where git lfs is getting its proxy configuration from. - it seems it uses http.ProxyFromEnvironment, which then led me to the documentation where I discover I need to add an HTTP_PROXY environment variable. It now works. Hopefully anyone else struggling with this will chance upon this issue!

I think given the integration with git the expectation would be that lfs would use the same proxy config as is configured for git in .gitconfig.

Activity

  1. technoweenie commented on Apr 6, 2016

    @technoweenie
    Contributor

    I think given the integration with git the expectation would be that lfs would use the same proxy config as is configured for git in .gitconfig.

    Good call, thanks for the report! It's probably too late for v1.2, but I'll put it on the list for v1.3.

  2. technoweenie commented on Aug 11, 2016

    @technoweenie
    Contributor

    This was shipped in Git LFS v1.3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions