I'm getting an error when using the example from libgit2Sharp github wiki on the credentials handler. (https://github.com/libgit2/libgit2sharp/wiki/git-push <- First one)
PushOptions opt = new PushOptions();
options.CredentialsProvider = new CredentialsHandler(("url here",
"username", (I don't know the type right now)) => new
UsernameAndPasswordCredentials(){...});
I get several misplaced token errors for example on the ',' after the two strings. Can anyone help me or give me an example of push?