nodegit-kit
nodegit-kit copied to clipboard
does it support authentication?
Does it support following? I don't see anywhere in the code that supports multiple user authentications. If not are you planning to do one? We can create a PR if you could guide us.
{
// SSH:
'passphrase': "...",
'refuseUnknownHost': true, // Default is false
// HTTPS:
'username': "...",
'password': "..."
}
It does not support atm but. I am not exactly sure how to to that with nodegit and when it need to be used (pull, clone, push, fetch)
For the nodegit-kit api I want it to be as close as possible to the git cli.
Another thing is about testing. Not sure how a test for this could be written for this.
Have you had a look at https://www.npmjs.com/package/nodegit-clone ?
References related to cred
- https://github.com/nodegit/nodegit/issues/982
- https://github.com/nodegit/nodegit/issues/323
- https://github.com/nodegit/nodegit/pull/377/files