camp project commit

Commit changes in a project submodule

Synopsis

Commit changes within a project submodule.

Auto-detects the current project from your working directory, or use --project to specify a project by name.

Examples:

From within a project directory

cd projects/my-api camp project commit -m "Fix bug"

Specify project by name

camp project commit --project my-api -m "Update deps"

camp project commit [flags]

Options

  -a, --all               Stage all changes (default true)
      --amend             Amend the previous commit
      --auto-write        Run configured commit message writer
  -h, --help              help for commit
  -m, --message string    Commit message (required unless --auto-write)
  -p, --project string    Project name (auto-detected from cwd if not specified)
      --sync              Sync submodule ref at campaign root after commit (opt-in)
      --workitem string   explicit workitem selector for the commit tag (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