Skip to content

mid-revert-conflict

operation

in-progress revert with one unresolved conflict in src/service.ts

A repository mid-revert, blocked on one unresolved conflict.
Three commits build on `src/service.ts` progressively. Reverting
the second commit (which added `email` and `listUsers`) conflicts
with the third commit (which added `role` and `deleteUser`).
`REVERT_HEAD` is set and the conflicted file has markers.

Useful for testing:
  - revert-specific conflict resolution UI
  - title-bar "REVERTING" indicator
  - distinguishing revert state from merge/rebase/cherry-pick
  - `git revert --continue` / `--abort` flows
  • main is checked out
  • a revert is in progress (REVERT_HEAD exists)
  • src/service.ts has unresolved conflict markers
  • exactly 1 unresolved conflict
conflictrevert
main
import { spinUpScenario } from '@gfargo/git-scenarios'

const repo = await spinUpScenario('mid-revert-conflict')
* 26066af (HEAD -> main) feat: add role field and deleteUser method
* 16aeb7f feat: add email field and listUsers method
* 44eebf1 feat: add user service

Back to Scenario Browser