r/webdev • u/fagnerbrack • Oct 15 '26
How big is a Git commit?
https://ratfactor.com/cards/git-commit-size33
u/cornovum77 Oct 15 '26
I think most of these files are 4K because that is the smallest block allocation. ‘du’ shows block space.
2
u/EnderAvni Oct 16 '26
I could be wrong, but do you mean page size or block allocation? I think on the heap it's like 8b minimum or something
2
15
2
u/29FFF Oct 16 '26
This is like saying “how big is a box of stuff”? Depends on the stuff and how you pack it.
2
2
-1
-1
1
u/hikingsticks Oct 16 '26
Mine is definitely above 6 inches, you just have to measure from the base.
1
Oct 16 '26
[removed] — view removed comment
1
u/webdev-ModTeam Oct 16 '26
Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.
0
Oct 16 '26
[removed] — view removed comment
1
u/webdev-ModTeam Oct 16 '26
Your post/comment has been determined to be a low-effort post or comment. This includes title-only posts, easily searchable questions, vague/open-ended discussion prompts, LLM generated posts or comments, and posts/comments that do not provide enough context for meaningful replies or discussion.
-9
98
u/ggnndd12 Oct 15 '26
2cm