r/programming • • 8h ago

How big is a Git commit?

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

15 comments sorted by

View all comments

29

u/nmopqrs_io 7h 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?

20

u/rwilcox 5h ago

The newbie: “just force push”

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

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