38 lines
1.4 KiB
YAML
38 lines
1.4 KiB
YAML
schema: 1
|
|
card: console-bash/L04
|
|
title: Git Basics I — status, add and commit
|
|
steps:
|
|
- id: init
|
|
task: task01_init_repository
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L04 1
|
|
board:
|
|
show: [working_directory, dot_git, branch_main, local_identity]
|
|
highlight: [repository_boundary, no_commits_yet, local_config]
|
|
question: Co tworzy git init, a czego jeszcze nie zapisuje?
|
|
evidence: [inside_work_tree, branch, commit_count, identity_scope]
|
|
- id: index
|
|
task: task02_status_and_add
|
|
action: test
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl test native-amd64 console-bash L04 2
|
|
board:
|
|
show: [working_tree, status_porcelain, git_add, index]
|
|
highlight: [untracked, staged, two_status_columns]
|
|
question: Co oznaczają dwie kolumny w status --short?
|
|
evidence: [untracked_code, staged_code, path]
|
|
- id: commit
|
|
task: task03_first_commit
|
|
action: debug
|
|
profile: native-amd64
|
|
target: native
|
|
command: stemctl debug native-amd64 console-bash L04 3
|
|
board:
|
|
show: [index_snapshot, commit_object, branch_ref, clean_worktree, trace_log]
|
|
highlight: [commit_message, parentless_root_commit, clean_status]
|
|
question: Dlaczego commit nie zapisuje plików, których nie dodano do indeksu?
|
|
evidence: [commit_count, subject, clean, trace_log]
|