LibGit2Sharp fetching error "Too many redirects or authentication replays" -
i receive error “too many redirects or authentication replays” when trying fetch libgit2sharp tfs server.
i've tried solutions in article below , none seem working.
libgit2sharp: fetching fails "too many redirects or authentication replays"
code using defaultcredentials():
credentialshandler credhandler = (_url, _user, _cred) => new defaultcredentials(); var fetchopts = new fetchoptions { credentialsprovider = credhandler }; using (var repo = getrepository()) { remote remote = repo.network.remotes["origin"]; repo.network.fetch(remote, fetchopts); } // using
Comments
Post a Comment