Commits = Video Game Save Points
Think of commits like save points in a video game:
- You save before the boss fight (before a risky change)
- You save after clearing a level (after a feature works)
- If you die, you load the last save (not start the whole game over)
Save 1: "Add data loading" ← level 1 clear
Save 2: "Add preprocessing" ← level 2 clear
Save 3: "Try new model architecture" ← boss fight attempt
Save 4: "Fix model bug" ← boss defeated!
Commit message rule: "If applied, this commit will ___."
Good: "Add data augmentation pipeline"
Bad: "stuff", "fix", "asdfgh"