multi-commit-branch
branch
feature branch with 8 varied commits (feat/fix/chore/docs/refactor/test)
Description
A `feat/dashboard` branch with 8 commits of varied types on top of a 2-commit `main`. Each commit touches a different file with deterministic seeded content, so the history surface, filter, and yank behaviors have realistic inputs to exercise. Useful for testing: - history surface column widths (varied subject lengths) - filter / search across commit subjects - palette and chord overlay interactions - view switches between history / status / branches - yank short-hash / full-hash from a selected commit
Contracts
- main has 2 commits
- feat/dashboard is checked out
- feat/dashboard has 8 commits on top of main
- worktree is clean
Tags
Branches
feat/dashboardmain Use it
import { spinUpScenario } from '@gfargo/git-scenarios'
const repo = await spinUpScenario('multi-commit-branch') npx git-scenarios create multi-commit-branch import { describeWithScenario } from '@gfargo/git-scenarios/jest'
describeWithScenario('multi-commit-branch', (getRepo) => {
it('should have the expected state', async () => {
const repo = getRepo()
// your assertions here
})
}) Commit graph
* 7e70f15 (HEAD -> feat/dashboard) feat: add dashboard export-to-csv action
* 8dc878e chore: bump dev dependencies
* e65142a docs: document dashboard configuration
* a1f5fd4 refactor: extract dashboard data-fetch into hook
* d1545d7 fix: dashboard refresh interval respects user setting
* 0448e2b test: cover dashboard reducer
* 60ff18b feat: wire dashboard to data source
* a6e44d1 feat: add dashboard layout
* 5c57eab (main) chore: baseline app shell
* 36b092a chore: initial scaffold