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
  1. Open the previous project and record its result.
  2. Type the example and complete: Split content and styling changes into two independently meaningful commits.
  3. Change one input, predict, then verify.
  4. 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

SymptomWhat to check
Unexpected resultDo not commit node_modules, secrets, or temporary screenshots; maintain .gitignore.
Nothing changesSave, 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

Your privacy choices

Necessary storage is always on. Optional analytics and support services load only after consent.