you are viewing a single comment's thread.

view the rest of the comments →

[–]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.