node-gitteh icon indicating copy to clipboard operation
node-gitteh copied to clipboard

can't use gitteh.clone method?

Open biebg opened this issue 11 years ago • 1 comments

I used example clone.js , but i got such error

clone.on("status", function(bytes, total, done) {
      ^
TypeError: Cannot call method 'on' of undefined

the source code of clone method is like that https://github.com/libgit2/node-gitteh/blob/master/lib/gitteh.js#L75-L77

how can I clone a repo by https url or git url?

biebg avatar Sep 29 '14 09:09 biebg

From their readme:

Right now, the bindings cover read only access to raw objects (trees/commits/blobs/tags/references), and basic access to remotes (including basic cloning/fetching support).

matthauck avatar Dec 16 '16 19:12 matthauck