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

Spcify depth when git cloning #6

Closed
steelbrain opened this issue Feb 5, 2016 · 1 comment
Closed

Spcify depth when git cloning #6

steelbrain opened this issue Feb 5, 2016 · 1 comment

Comments

@steelbrain
Copy link

git clone https://github.com/tj/n

^ this downloads all of the repo history, that we're never gonna use
instead we should be doing this

git clone https://github.com/tj/n --depth=1
@mklement0
Copy link
Owner

Great tip, thank you.

Implemented in the just-published v0.3.1 (both for git clone in n-install and git pull in n-update).

@brbsix brbsix mentioned this issue Jan 28, 2017
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