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

Add depth option #10

Open
camden opened this issue Apr 25, 2017 · 1 comment
Open

Add depth option #10

camden opened this issue Apr 25, 2017 · 1 comment

Comments

@camden
Copy link

camden commented Apr 25, 2017

See: https://git-scm.com/docs/git-clone#git-clone---depthltdepthgt

The functionality can be seen here in my fork... overall a pretty simple addition:

https://github.com/camden/node-git-clone-or-pull/blob/master/index.js#L71-L73
https://github.com/camden/node-git-clone-or-pull/blob/master/index.js#L123

@strugee
Copy link
Owner

strugee commented Mar 13, 2018

FWIW to anyone who stumbles on this, I'm not going to spend time doing this myself but I would be happy to take a PR.

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

No branches or pull requests

2 participants