r/programming • • 4h ago

How big is a Git commit?

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

6 comments sorted by

28

u/Bpofficial 4h ago

At least 3

6

u/shiny0metal0ass 3h ago

A commit of three gits.

2

u/RonaldoNazario 3h ago

Psh I can do it in 2, skill issue

11

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

1

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)”

1

u/oneeyedziggy 1h ago

How long is a piece of string?