r/webdev • • Oct 15 '26

How big is a Git commit?

https://ratfactor.com/cards/git-commit-size
45 Upvotes

25 comments sorted by

View all comments

33

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

u/foonek Oct 16 '26

On your disk