Repository navigation
Commit f89bca4
committed
docs(site): Tutorial 2 — Add Morph to a project that already uses Git
Adds the second tutorial in the series, walking a reader from an
existing Git project through reference mode end-to-end. Every CLI
block is real output captured from a /tmp walkthrough against
morph 0.37.3 — no synthesized commands or hash placeholders.
Tutorial 2 (site/tutorials/adding-to-git-project.html, 13 sections):
- "Who is this for?" persona cards: curious-about-morph,
starting-agentic-coding, don't-want-to-bother-teammates.
- §01–§04: prereqs, the plain-English picture, `morph init
--reference`, mirroring existing history with --backfill.
- §05–§07: plain `git commit` automatic mirror, pulling from
teammates (FF and rebase, both verified end-to-end against the
0.37.1 fix), `morph commit` for evidence.
- §08: when the hooks don't fire — drift. Includes a new
"Other staleness Morph tracks" subsection with a four-row table
naming drift, stale_certifications, uncertified git-hook commits,
and merge-in-progress, plus a CI-ready jq one-liner that filters
`morph eval gaps --json` for the two structured kinds.
- §09–§10: pushing to GitHub, recording agent work.
- §11: bringing teammates onto Morph. Three-stage path —
`morph init --bare` server + SSH, teammate joins via
`morph init --reference` + `morph remote add` + `morph fetch`,
everyone flips to Solo via `morph install-hooks --solo`.
- §12–§13: scope (with honest evidence-horizon callout pointing
at §11 Stage 3), where to next.
Plus tutorial-index card un-disabled, Tutorial 1's pager next-link
enabled to point at Tutorial 2.
Made-with: Cursor1 parent 80958d8 commit f89bca4
3 files changed
Lines changed: 1460 additions & 9 deletions
0 commit comments