git_commit
Stage and commit repository changes, optionally for specific paths. Prevents commits on protected branches, ensuring you create a feature branch first.
Instructions
Stage and commit changes. By default every modified and untracked file is staged; pass paths to commit a subset. Refuses to commit on a protected branch — create a feature branch first. Write the message in the style of the repository's recent commits (check git_log).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| paths | No | Only stage and commit these paths. Default: all changes. | |
| message | Yes | Commit message. First line is the subject; add a body after a blank line. | |
| workspace | No | Workspace alias. Defaults to the active workspace. |