git_add
Adds specified files to the staging area in a Git repository, enabling version control and preparation for commits. Integrates with the MCP Git Server for repository management.
Instructions
Adds file contents to the staging area
Input Schema
Name | Required | Description | Default |
---|---|---|---|
files | Yes | ||
repo_path | Yes |
Input Schema (JSON Schema)
{
"properties": {
"files": {
"items": {
"type": "string"
},
"title": "Files",
"type": "array"
},
"repo_path": {
"title": "Repo Path",
"type": "string"
}
},
"required": [
"repo_path",
"files"
],
"title": "GitAdd",
"type": "object"
}