mavis_git
Run git commands in the workspace with arguments passed as an array to prevent shell injection.
Instructions
Run a git command in the workspace. Args are passed as an array to avoid shell injection. Examples: ["status"], ["log", "--oneline", "-10"], ["diff"], ["add", "."], ["commit", "-m", "msg"], ["push"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Subdirectory relative to workspace root. | |
| args | Yes | Git args. E.g. ["status"] or ["commit", "-m", "msg"]. |