Skip to content

Commit 6ad3328

Browse files
committed
Start up a FAQ
1 parent 2054e3a commit 6ad3328

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

FAQ.md

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
NodeGit FAQ
2+
-----------
3+
4+
Feel free to add common problems with their solutions here, or just anything that wasn't clear at first.
5+
6+
#### Error: callback returned unsupported credentials type ####
7+
8+
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:
9+
```
10+
11+
insteadOf = https://github.com/
12+
```
13+
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.

0 commit comments

Comments
 (0)