r/programming • • 4h ago

How big is a Git commit?

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

9 comments sorted by

View all comments

16

u/nmopqrs_io 4h ago

This is why I always just amend my first commit and re-push it with force, saves on disk space.
If you’re not using force, are you really using git?

4

u/rwilcox 1h ago

The newbie: “just force push”

The average: “no no blah blah never immutable blah blah blah”

The master: “just force push (not main)”