38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
schema: 1
|
|
card: console-bash/L05
|
|
title: Git Basics II — log, diff and restore
|
|
steps:
|
|
- id: history
|
|
task: task01_read_history
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L05 1
|
|
board:
|
|
show: [commit_graph, log_oneline, head, subjects]
|
|
highlight: [oldest_to_newest, head_commit, stable_dates]
|
|
question: Który commit wskazuje HEAD i dlaczego?
|
|
evidence: [commit_count, ordered_subjects, head_subject]
|
|
- id: diffs
|
|
task: task02_compare_diffs
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L05 2
|
|
board:
|
|
show: [head_blob, index_blob, worktree_file, diff_cached, diff_worktree, status_MM]
|
|
highlight: [head_to_index, index_to_worktree, two_status_columns]
|
|
question: Dlaczego jeden plik może mieć jednocześnie dwie litery M?
|
|
evidence: [head_value, index_value, worktree_value, status]
|
|
- id: restore
|
|
task: task03_restore_safely
|
|
action: debug
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl debug native-amd64 console-bash L05 3
|
|
board:
|
|
show: [restore_worktree, restore_staged, final_restore, clean_status, trace_log]
|
|
highlight: [explicit_target, unstage, no_reset_hard]
|
|
question: Który stan jest źródłem dla każdego z dwóch wariantów restore?
|
|
evidence: [after_worktree_restore, after_unstage, final_value, clean, trace_log]
|