Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't use gitteh.clone method? #77

Open
biebg opened this issue Sep 29, 2014 · 1 comment
Open

can't use gitteh.clone method? #77

biebg opened this issue Sep 29, 2014 · 1 comment

Comments

@biebg
Copy link

biebg commented Sep 29, 2014

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?

@matthauck
Copy link

matthauck commented Dec 16, 2016

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).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants