Skip to main content
Glama

enhanced_git_diff

Compare Git changes with customizable options: choose formats (unified, side-by-side, stat, word-diff), ignore whitespace, set context lines, and enable color output for clarity.

Instructions

Show git diff with multiple format options (unified, side-by-side, stat, word-diff)

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
colorOutputNoEnable color output
commit1NoFirst commit for comparison
commit2NoSecond commit for comparison
contextLinesNoNumber of context lines (default: 3)
cwdNoWorking directory
fileNoSpecific file to diff
formatNoDiff format
ignoreWhitespaceNoIgnore whitespace changes
stagedNoShow staged changes

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/block/vscode-mcp'

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