Tech News
← Home  ·  All topics

Git Commit

1 GoKawiil brief on this topic

Experiment shows Git commits consume kilobytes of disk space per small change

A developer measured Git repository size changes using du and dc, finding an empty .git directory takes about 64KB, while adding 250 tiny files and committing them added roughly 47KB. A single-character edit to one file followed by a commit added about 17KB to the repository, despite the actual content change being only a few bytes.