git_commit
Create a commit from staged changes, with optional auto-staging of tracked files and explicit confirmation for secure operations.
Instructions
Create a commit with the staged changes.
Requires explicit confirmation when security.require_confirmation
is enabled in config (default: True).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to True to confirm this destructive operation when confirmation is required by config. | |
| message | Yes | The commit message. Required. | |
| all_changes | No | If True, automatically stage all tracked file changes before committing (equivalent to ``git commit -a``). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||