Skip to main content
Part 2 of 6 · Chapter 1 of 4

Writing Commits That Explain the Change

git commit -am is fast and it is why so many histories are useless six months later. Stage deliberately, split one messy file into two honest commits, and write the message the way the people reading git log need it.

Beginner11 min read

Read first: The Working Tree, the Index, and the Repository


Make a free account to read on

Every chapter is free — an account is how your progress, XP, and streak follow you from your laptop to your phone, and how you show up on the leaderboard. No payment, no trial.