git_config
Manage Git configuration settings by getting, setting, or listing values for repository or global scope to customize your development workflow.
Instructions
Get or set git configuration
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Repository directory | |
| action | No | Config action | list |
| key | No | Config key (required for get/set) | |
| value | No | Config value (required for set) | |
| global | No | Use global config instead of repository config |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"default": "list",
"description": "Config action",
"enum": [
"get",
"set",
"list"
],
"type": "string"
},
"cwd": {
"description": "Repository directory",
"type": "string"
},
"global": {
"default": false,
"description": "Use global config instead of repository config",
"type": "boolean"
},
"key": {
"description": "Config key (required for get/set)",
"type": "string"
},
"value": {
"description": "Config value (required for set)",
"type": "string"
}
},
"type": "object"
}