camp workitem commit

Commit changes scoped to the resolved workitem

Synopsis

Stage and commit changes belonging to a resolved workitem.

The staging plan is computed from the resolver context (cwd-aware, with explicit positional or --project overrides) and printed to stderr before the commit runs. The plan never silently widens to "git add ." at the campaign root.

See docs/workitem-commit-reference.md for the staging matrix and flag precedence.

camp workitem commit [selector] [flags]

Options

      --dry-run                     print the staging plan and exit without committing
      --exclude stringArray         path to remove from the staging plan (repeatable)
      --festival string             festival id for the festival resolver tier
  -h, --help                        help for commit
      --include stringArray         additional path to stage (repeatable; relative to repo root)
      --include-submodule-pointer   include dirty project submodule pointers in the plan
      --json                        emit the staging plan and commit result as JSON on stdout
  -m, --message string              commit message (required unless --dry-run)
      --project string              force project-repo context by name (skips resolver)
      --staged                      commit whatever is already in the git index
      --workitem string             explicit workitem selector (overrides cwd-based resolution)

Options inherited from parent commands

      --config string   config file (default: ~/.obey/campaign/config.json)
      --no-color        disable colored output
      --verbose         enable verbose output

SEE ALSO