2026-spring git-github/lessons/03-branches/exercises.md

6 lines436 B

Exercises: lesson 3

  1. Break the example on purpose: delete a bracket or misspell a name. Read the error message. Which line does it point to?
  2. Find one thing in commands.sh you could name better and rename it everywhere.
  3. Add a check that prints a warning when a result looks wrong (negative, empty, too big).
  4. Look up one function or command the example uses in the official documentation. Note one option you didn't know.