A practical first course in working with your own AI agent. Start small, inspect the result, and ship with intention.
6 lessons24 small stepsYour own agent
LESSON 0320 min · AT YOUR PACE
Working with Files
STEP 3 OF 4
Recover without losing work
Practice recovery on a copy, so there is no mystery about what gets restored.
Your task
With my approval, copy index.html to index.practice-backup.html. Make a temporary heading edit, show the diff, and restore only that edit from the backup after I confirm. Preserve any other work.
MAKE THIS
The original heading restored and other work preserved.
REVIEW BEFORE YOU ACT
Use only the practice file and its backup. Do not reset the repository or delete folders.
✓
How to check it
Compare index.html with index.practice-backup.html after restoration. The files must match byte for byte.