共 13 节,按顺序
- 125 分钟
初始化与你的第一次提交 (commit)
Git initGit configWorking treeStaging areaGit addGit commit - 225 分钟
状态、差异和日志
Git statusGit diffGit diff --stagedGit logLog formatting - 330 分钟
分支 (branch) 与合并 (merge)
Git branchGit switchFast-forward mergeThree-way mergeMerge commit - 430 分钟
远程仓库 (remote): push、pull、fetch
Git remote addGit pushGit fetchGit pullUpstream tracking - 530 分钟
变基 (rebase)
Git rebaseReplay on topLinear historyWhen not to rebase - 630 分钟
交互式变基 (rebase) 与提交压缩 (squash)
Git rebase -iPickSquashFixupRewordAutosquash - 725 分钟
暂存 (stash) 与择优拣选 (cherry-pick)
Git stashGit stash popGit stash listGit cherry-pick - 830 分钟
解决合并 (merge) 冲突
Merge conflict markersManual resolutionGit add after resolvingGit merge --abortMergetool - 920 分钟
标签 (tag) 与发布 (release)
Lightweight tagAnnotated tagGit tag -aGit push --tagsGitHub releases - 1020 分钟
分支 (branch) 工作流
Trunk-based developmentGitHub FlowGit FlowShort-lived branches - 1125 分钟
钩子 (hook)
Client-side hooks.git/hooksPre-commitShell hook examplePre-commit framework - 1225 分钟
恢复丢失的工作
Git reflogRecovering from reset --hardGit fsck --lost-found30-day grace period - 1340 分钟
综合实战: 完整的 Pull Request 流程
CloneFeature branchPushGh pr createFixup commitsAutosquash rebase+1
用你的语言学习 Git
每一节课、测验和导师回复都以你的语言显示。AI 导师会用你提问的语言来回答。
Roles that use Git
See how hiring teams interview engineers on Git, in production-like environments.
Interview role
Developer Experience Engineer
Hire DX engineers in real workspaces with real CLIs, real dev loops and real onboarding friction to fix. Live or take-home.
See the interviewInterview role
Backend Engineer (Go, Rust, Java)
Hire backend engineers in real services with real databases, real concurrency and real latency budgets. Live or take-home, fully recorded.
See the interviewInterview role
Full Stack Developer
Hire full stack developers in real apps with real APIs, real UIs and real tests. Live or take-home, fully recorded.
See the interview