feat(L05): add Git log diff and restore card
This commit is contained in:
@@ -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).
|
||||
Reference in New Issue
Block a user