Manuals / Git & GitHub / Ch 12

ReferenceBeginner15 min read

12. Timeline, tools & cheat sheet

Git & GitHub · 48 pages source format

Return when stuck. Week map, golden rules, and interview quick hits.

What you'll learn

  • 10-week map
  • Golden rules
  • Command quick ref

Week map

  • Weeks 1–2 — daily loop, branches, remotes
  • Weeks 3–4 — PRs + Checkpoint A
  • Weeks 5–6 — rebase, stash, conflicts
  • Weeks 7–8 — reflog, bisect
  • Weeks 9–10 — hooks + Checkpoint B
Clear?

Golden rules

Small commits. Pull before push. Read diff before commit. Never force-push shared branches. Never commit secrets.

Do this now

Pin Pro Git Chapter 1 and Learn Git Branching.

Clear?

Command quick ref

status, diff, add -p, commit, push -u, pull --rebase, switch -c, merge, rebase, stash, reflog, bisect, cherry-pick.

Do this now

Maintain docs/git-cheatsheet.md in git-practice repo.

Clear?

Interview one-liners

Three trees: working, staging, repo. Merge preserves topology. Rebase replays commits. Reflog is local safety net. Bisect is binary search.

Do this now

Update cheatsheet after each mock interview.

Clear?

Checklist