git_auto_commit
Automate staging and committing of git-tracked file changes. Stages modified tracked files (git add -u) and creates a commit with your message or a default.
Instructions
Stage tracked file changes and create a git commit.
Only stages changes to files already tracked by git (no untracked files, no .env / credentials / key files). Never force-pushes or modifies main/master.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Specific file paths to stage. If empty, stages all tracked-file changes (git add -u — excludes untracked files and common sensitive patterns). | |
| message | No | Commit message. If empty, a generic message is used. | |
| working_dir | No | Repository path. Defaults to cwd. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||