Reference that teaches

Commands you can understand, not just copy.

Each reference explains what the command changes, how to reason about it, common failure modes, safe recovery, and realistic examples.

Git

git revert

Learn git revert through shared-history reasoning, inverse commits, conflict recovery, no-commit workflows, and the special risks of reverting merges.

Reviewed 2026-08-243 worked examples
Open command reference
Git

git rebase

Learn git rebase through commit-graph reasoning, safe examples, conflict recovery, interactive cleanup, and practical guidance on when rebasing is the wrong choice.

Reviewed 2026-08-163 worked examples
Open command reference
Git

git merge

Learn git merge through commit-graph reasoning, fast-forward behavior, merge commits, conflict recovery, and safe collaboration scenarios.

Reviewed 2026-08-163 worked examples
Open command reference
Git

git restore

Learn git restore through working-tree and index state reasoning, safe unstaging, source selection, patch mode, and deliberate recovery from local file mistakes.

Reviewed 2026-08-244 worked examples
Open command reference
Git

git reset

Learn git reset through HEAD, index, and working-tree reasoning, safe soft/mixed/hard examples, unstaging, recovery, and clear reset-vs-restore-vs-revert decisions.

Reviewed 2026-08-244 worked examples
Open command reference
Git

git stash

Learn git stash through working-tree and index state reasoning, selective stashing, safe restoration, conflict recovery, and practical branch workflows.

Reviewed 2026-08-244 worked examples
Open command reference
Git

git cherry-pick

Learn git cherry-pick through commit selection, backport reasoning, conflict recovery, merge-parent choices, and safe verification of copied changes.

Reviewed 2026-08-243 worked examples
Open command reference
Git

git reflog

Learn git reflog as local ref-movement history for recovering commits after resets, rebases, branch moves, and other history-changing operations.

Reviewed 2026-08-243 worked examples
Open command reference