Open kuno opened 11 years ago
It seems this is an error occurs at the c++ level?
Can you do a git remote -v show
so we can see
which URL is it trying to fetch? Maybe it's an FTP
one which LibGit2 doesn't support(?) right now.
It was strange, I try again, this time I got another error:
/Users/kuno/Hub/_/node-gitteh/lib/gitteh.js:418
fetchSpec = new Refspec(nativeRemote.fetchSpec.src, nativeRemote.fetchSpec
^
TypeError: Cannot read property 'src' of undefined
at new Gitteh.Remote (/Users/kuno/Hub/_/node-gitteh/lib/gitteh.js:418:51)
at Repository.remote (/Users/kuno/Hub/_/node-gitteh/lib/gitteh.js:855:23)
at wrapCallback (/Users/kuno/Hub/_/node-gitteh/lib/gitteh.js:76:17)
And this is the result of git remtoe -v show
, nothing interesting though, I believed.
origin git@github.com:libgit2/node-gitteh.git (fetch)
origin git@github.com:libgit2/node-gitteh.git (push)
BTW, I have found any documents teaching me how to add new file/commit/fetch/push/pull by using gitteh
.
If you know how, can you show me some example?
I made a slight modification to the
examples/show_remote.js
,When I running it , I got this error: