Skip to main content
Glama

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

TableJSON Schema
NameRequiredDescriptionDefault
actionYesThe Git configuration operation to perform
globalNoUse global configuration (~/.gitconfig)
keyNoConfiguration key (required for get, set, unset, show operations). Examples: user.name, user.email, core.editor
localNoUse local repository configuration (.git/config)
projectPathYesAbsolute path to the project directory
showOriginNoShow configuration file origin (for list and show operations)
showScopeNoShow configuration scope (for show operation)
systemNoUse system configuration (/etc/gitconfig)
valueNoConfiguration value (required for set operation)

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Andre-Buzeli/git-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server