Skip to content

Clone set proxy #2018

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Arnaud-17 opened this issue Mar 7, 2023 · 2 comments
Closed

Clone set proxy #2018

Arnaud-17 opened this issue Mar 7, 2023 · 2 comments

Comments

@Arnaud-17
Copy link

public static void Clone()

    {
        var url = @"https://github.com/repo.git";
        var path = "C:\\temp\\GitSharpTest";

        var co = new CloneOptions();
        co.CredentialsProvider = (_url, _user, _cred) => new UsernamePasswordCredentials { Username = "Username", Password = "Password" };

        Repository.Clone(url, path);
    }

can't find a way to set the proxy

Version of LibGit2Sharp (0.26.2)

@DUWENINK
Copy link

DUWENINK commented Jul 5, 2023

the same as to me ,

@bording
Copy link
Member

bording commented Dec 3, 2023

LibGit2Sharp 0.29.0 has been released, which adds proxy options to make proxies fully configurable.

@bording bording closed this as completed Dec 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants