git-config
Manage Git configuration settings across global, local, and system scopes. Perform get, set, unset, list, edit, and show operations to configure user details, editor preferences, and repository-specific settings.
Instructions
Git configuration management tool for get, set, unset, list, edit, and show operations. Supports global, local, and system configuration scopes.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| action | Yes | The Git configuration operation to perform | |
| global | No | Use global configuration (~/.gitconfig) | |
| key | No | Configuration key (required for get, set, unset, show operations). Examples: user.name, user.email, core.editor | |
| local | No | Use local repository configuration (.git/config) | |
| projectPath | Yes | Absolute path to the project directory | |
| showOrigin | No | Show configuration file origin (for list and show operations) | |
| showScope | No | Show configuration scope (for show operation) | |
| system | No | Use system configuration (/etc/gitconfig) | |
| value | No | Configuration value (required for set operation) | 
Input Schema (JSON Schema)
{
  "properties": {
    "action": {
      "description": "The Git configuration operation to perform",
      "enum": [
        "get",
        "set",
        "unset",
        "list",
        "edit",
        "show"
      ],
      "type": "string"
    },
    "global": {
      "description": "Use global configuration (~/.gitconfig)",
      "type": "boolean"
    },
    "key": {
      "description": "Configuration key (required for get, set, unset, show operations). Examples: user.name, user.email, core.editor",
      "type": "string"
    },
    "local": {
      "description": "Use local repository configuration (.git/config)",
      "type": "boolean"
    },
    "projectPath": {
      "description": "Absolute path to the project directory",
      "type": "string"
    },
    "showOrigin": {
      "description": "Show configuration file origin (for list and show operations)",
      "type": "boolean"
    },
    "showScope": {
      "description": "Show configuration scope (for show operation)",
      "type": "boolean"
    },
    "system": {
      "description": "Use system configuration (/etc/gitconfig)",
      "type": "boolean"
    },
    "value": {
      "description": "Configuration value (required for set operation)",
      "type": "string"
    }
  },
  "required": [
    "action",
    "projectPath"
  ],
  "type": "object"
}