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

Is the size of .git/ similar or much bigger than other directories? #9

Open
maurolepore opened this issue Mar 1, 2025 · 0 comments

Comments

@maurolepore
Copy link

Inspired by ropensci/software-review#659 (comment)

# The fireexposuR directory is quite large, so cloning is relatively slow
➜  git du -hd 1 fireexposuR 
240K    fireexposuR/.Rproj.user
80K     fireexposuR/R
20K     fireexposuR/inst
76M     fireexposuR/.git
16K     fireexposuR/vignettes
24K     fireexposuR/.github
736K    fireexposuR/man
48K     fireexposuR/tests
77M     fireexposuR

# Almost all that "weight" comes from the .git/ directory alone
➜  git du -hd 1 fireexposuR/.git
4.0K    fireexposuR/.git/branches
75M     fireexposuR/.git/objects
32K     fireexposuR/.git/logs
8.0K    fireexposuR/.git/info
28K     fireexposuR/.git/refs
64K     fireexposuR/.git/hooks
76M     fireexposuR/.git
@maurolepore maurolepore changed the title Is the size of the .git/ repo similar to the three? Is the size of the .git/ repo similar to the tree or much bigger? Mar 1, 2025
@maurolepore maurolepore changed the title Is the size of the .git/ repo similar to the tree or much bigger? Is the size of .git/ similar or much bigger than other directories? Mar 1, 2025
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

1 participant