Go from never having used a coding agent to working productively and safely with one. The learner should understand what an agent is and how it differs from a chat assistant. They should choose a tool, set up a protected first project, describe tasks the agent can do well, and follow and verify its work. They should recover from bad changes, manage context, and plan bigger changes. They should also use tests as the definition of done and run everyday workflows (bug fixes, features, writing tests, codebase exploration, scripts, small tools, refactors). Throughout, they should keep secrets and systems safe and keep their own understanding growing instead of outsourcing it.
Branches as parallel lines of work
card 6 of 6
Remember
builds on: Git commits as snapshots you can return to
A branch is a cheap, movable name for a line of commits. Branch off before an experiment. If it worked, switch to `main` and merge the branch in. If it didn't, delete the branch with `-D`. Either way, `main` stays untouched until you decide.
Terms on this card
- branch
- A named pointer to one commit. It moves forward each time you commit while on it, so it marks the tip of a line of work.
- `main`
- The usual name of the first, default branch in a repository. Some older projects call it `master`.
- merge
- Bringing the commits from another branch into the branch you are currently on, using `git merge <name>`.
Lesson goal: Explain a branch as a movable pointer to a line of commits. Create one for an experiment, switch between branches, and merge or delete it depending on how the experiment went. ·
the whole lesson