Can libgit2sharp rely on the installed git global configuration provider?

I am connecting LibGit2Sharp code to VSO, so I need to use alternative credentials to access it. (NTLM will not work) I don’t want to manage these cleartext credentials - I already use git-credential-winstore to manage them, and I am happy to enter the field if I ever need to update these loans.

I see that I can transfer credentials to DefaultCredentials and UsernamePassword - is there a way to get it to get accounts from the global git credit store that is already configured on the computer?

+2
source share
1 answer

libgit2, git. , , , .

git , , . , ​​ , .

libgit2 , , , , , , , . , libgit2 , , , .

Windows API, , , libgit2, , libgit2 .

+4

Source: https://habr.com/ru/post/1687817/


All Articles