I want to download code from a public and private repository from GitHub. For this, I chose octokit.net, but I have a big problem to understand how I should use this lib to achieve my goal. Typically, this should be done through the new GitHubClient class. But when I try to download the octokit.net code, I get an error that the path is wrong.
var github = new GitHubClient(new ProductHeaderValue("OctokitTests"), new Uri("https://github.com/octokit/octokit.net.git);
var repository = await github.Repository.Get("onwer", "user");
source
share