Solice UI
Back to the curriculum

Chapter 6 · Performance & Tooling

Git and small changes

Git records how project files change over time. Its greatest everyday value is not a list of commands; it is the ability to inspect a focused change, review it, and return to a known checkpoint.

Beginner · Lesson 5 of 6 in this chapter

A diff tells the story of a change

Before committing, inspect which files changed and whether unrelated work entered the same set. A focused commit should represent one understandable outcome rather than every edit made during the day.

Branches isolate lines of work

A branch gives a feature or fix its own sequence of commits. It does not automatically protect uncommitted files, so always check the current worktree before switching, rebasing, or cleaning.

Adding a lesson page

  1. Inspect the current status and preserve unrelated files.
  2. Stage only lesson content, route, styles, tests, and its documentation.
  3. Commit after the focused tests and build pass so the checkpoint can be reviewed independently.
  • Read the diff before you commit.
  • Keep commits focused on one coherent result.
  • Never remove unfamiliar work just because it is uncommitted.