Skip to content

Clone set proxy #2018

@Arnaud-17

Description

@Arnaud-17

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions