Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
13 lines (10 loc) · 638 Bytes

File metadata and controls

13 lines (10 loc) · 638 Bytes
Copy raw file
Download raw file
Outline
Edit and raw actions

NodeGit FAQ

Feel free to add common problems with their solutions here, or just anything that wasn't clear at first.

Error: callback returned unsupported credentials type

As seen in nodegit/#959 -- some golang hackers have started to use the following stanza in .gitconfig to allow go get to work with private repos:

[url "git@github.com:"]
        insteadOf = https://github.com/

But if you do this, code can call NodeGit.Clone.clone(url: 'https://foo') and have the authentication callback be asked for SSH credentials instead of HTTPS ones, which might not be what your application expected.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.