nodegit-kit icon indicating copy to clipboard operation
nodegit-kit copied to clipboard

does it support authentication?

Open veeramarni opened this issue 8 years ago • 1 comments

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': "..."
}

veeramarni avatar Feb 14 '17 21:02 veeramarni

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

thisconnect avatar Feb 15 '17 06:02 thisconnect