git_add
Stage specified files or all changes for the next commit. Use patterns to include multiple files at once.
Instructions
Add file contents to the staging area.
USAGE: Call this tool to stage files for commit. Use "." to add all changes, or specify specific files.
Examples: {} - Add all changes (equivalent to "git add .") {"files": ["src/main.js", "src/utils.js"]} - Add specific files {"files": ["*.js"]} - Add files matching pattern (use shell expansion)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | No | Files to add (default: ["."] for all files) |