Skip to content

mid-merge-conflict

operation

in-progress merge with one unresolved conflict in src/widget.ts

A repository mid-merge, blocked on one unresolved conflict.
`main` and `feat/x` both edited the same line of `src/widget.ts`
after forking from a shared baseline. Running `git merge feat/x`
on `main` triggered the conflict; the merge is now sitting
uncommitted with conflict markers in the worktree.

Useful for testing:
  - conflicts view rendering + per-file resolve actions
  - title-bar in-progress-operation indicator
  - the `coco doctor` / `coco ui` flows when a merge is in flight
  - the C / Esc guard on the conflicts view
  • main is checked out
  • a merge is in progress (MERGE_HEAD exists)
  • src/widget.ts has unresolved conflict markers
  • exactly 1 unresolved conflict
conflictmerge
feat/xmain
import { spinUpScenario } from '@gfargo/git-scenarios'

const repo = await spinUpScenario('mid-merge-conflict')
* a9cd5e1 (HEAD -> main) feat: rename widget on main
| * 4be74e3 (feat/x) feat: rename widget on feat/x
|/  
* 43bb961 feat: baseline widget
* f1f1793 chore: initial scaffold

Back to Scenario Browser