Skip to content

ExecutionContext

ExecutionContext = { type: "global"; } | { type: "worktree"; workdir: string; } | { gitDir: string; type: "bare"; }

Defined in: src/core/types.ts:362

Execution context for git commands

Determines how git commands are executed:

  • Worktree: git -C <workdir> <command>
  • Bare: git --git-dir=<gitDir> <command>