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

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

Open
1alexvash opened this issue Oct 27, 2021 · 2 comments
Open

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

1alexvash opened this issue Oct 27, 2021 · 2 comments

Comments

@1alexvash
Copy link

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
Copy link

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
Copy link

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

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

3 participants