Commits and readable history
Create small complete commits and use history to explain change.
- Difficulty
- beginner
- Time
- 40 minutes
- Last verified
- 9/21/2026
What you will build
Create small complete commits and use history to explain change.
Understand the idea first
Create small complete commits and use history to explain change.
Build it step by step
git add content/docs
git commit -m "feat: add study progress table"
git log --oneline --decorate -5
git show --stat HEAD- Open the previous project and record its result.
- Type the example and complete: Split content and styling changes into two independently meaningful commits.
- Change one input, predict, then verify.
- Create and repair: Do not commit node_modules, secrets, or temporary screenshots; maintain .gitignore.
Read the important lines
- Create small complete commits and use history to explain change.
- Read input, processing, and output separately.
- Verify another input and an edge case.
Common mistakes and what to check
| Symptom | What to check |
|---|---|
| Unexpected result | Do not commit node_modules, secrets, or temporary screenshots; maintain .gitignore. |
| Nothing changes | Save, verify paths, and read the first relevant Console error. |
Practice without copying
Split content and styling changes into two independently meaningful commits.
Check the answer after you try
Rebuild and explain the decisions. Check: Do not commit node_modules, secrets, or temporary screenshots; maintain .gitignore.
Completion check
- I produced the required visible result
- I can explain the input, processing, and output
- I tested normal, edge, and failure cases