Rich-Harris / degit

Straightforward project scaffolding
MIT License
6.93k stars 242 forks source link

How many commits are stored in the .git history? #334

Open 1alexvash opened 2 years ago

1alexvash commented 2 years ago

Your tool downloads on the latest commit

Let's say a GitHub repo has 1000 commits, how many of them will be imported using regular git clone ?

edgardleal commented 2 years ago

When you clone a repository you will download the entire repository with all commits.

Even not downloading all branch, branchs are just pointers for some commits.

kevinkhill commented 2 years ago

Wait, isn't this just git clone --depth 1?