unable to set CredentialsProvider
co.FetchOptions.CredentialsProvider = (_url, _user, _cred) => new LibGit2Sharp.UsernamePasswordCredentials { Username = "username", Password = accessToken };
because the FetchOptions is null and it cannot be set in CloneOptions as it is readonly
Reproduction steps
unable to set CredentialsProvider
co.FetchOptions.CredentialsProvider = (_url, _user, _cred) => new LibGit2Sharp.UsernamePasswordCredentials { Username = "username", Password = accessToken }; because the FetchOptions is null and it cannot be set in CloneOptions as it is readonly
Expected behavior
Actual behavior
Version of LibGit2Sharp (release number or SHA1)
Operating system(s) tested; .NET runtime tested