Skip to main content
Glama

enhanced_git_diff

Display git changes in multiple formats like unified, side-by-side, or word-diff to analyze code modifications with customizable options for context, whitespace, and color output.

Instructions

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

Input Schema

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

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