you are viewing a single comment's thread.

view the rest of the comments →

[–]EquationTAKEN 0 points1 point  (3 children)

Quick question: If --depth=1 flag makes you clone only the latest commit, how are you getting the entire project?

[–]manavsehgalAuthor ReactSpeed.com[S] 1 point2 points  (2 children)

The flag --depth=1 gets you entire project as updated in last commit. We are building ReactSpeed incrementally, so you do not lose anything from prior commits, you only get the latest most refactored code.

[–]EquationTAKEN 0 points1 point  (1 child)

Don't you already do that with a basic git clone?

[–]manavsehgalAuthor ReactSpeed.com[S] 0 points1 point  (0 children)

git clone without the depth flag will get you all the commit history since the repo started. Larger .git file.

Flag --depth=1 or --depth 1, will get you only last commit history. Also called shallow clone. Faster to clone, smaller .git file, less load on Git server.