feat(L05): add Git log diff and restore card

This commit is contained in:
user
2026-07-21 18:05:05 +02:00
commit 6103bb547d
38 changed files with 7133 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
# L05 · Git Basics II — log, diff and restore
Karta uczy czytania historii i porównywania trzech stanów Git bez niszczenia
danych. Wszystkie scenariusze działają w repozytoriach `mktemp`.
| Task | Dowód PASS |
| --- | --- |
| `task01_read_history` | trzy uporządkowane commity, HEAD=`docs` |
| `task02_compare_diffs` | HEAD=`base`, index=`staged`, worktree=`working`, status `MM` |
| `task03_restore_safely` | restore worktree, unstage index, restore do czystego `base` |
```bash
stemctl card use console-bash L05
stemctl test native-amd64 console-bash L05 1
stemctl test native-amd64 console-bash L05 2
stemctl debug native-amd64 console-bash L05 3
```
Wyniki wpisz do [answers/git-basics-2-evidence.md](answers/git-basics-2-evidence.md).