Skip to main content
Glama

git_merge_diff

Generate a text diff for a Git merge commit against its first parent in a local repository. Specify the commit hash and repository path to analyze merge changes.

Instructions

Generates the text diff for a Git merge commit against its first parent within a specified local repository.

Input Schema

TableJSON Schema
NameRequiredDescriptionDefault
commitHashYesThe Git commit hash (SHA) of the merge commit.
repoPathYesThe absolute path to the local Git repository directory.

Implementation Reference

  • Registers the 'git_merge_diff' tool with the MCP server, referencing imported schema and handler from './tools/gitMergeDiff/gitMergeDiff.js'.
    server.tool( "git_merge_diff", "Generates the text diff for a Git merge commit against its first parent within a specified local repository.", gitMergeDiffSchema, gitMergeDiffHandler );

Other Tools

Related Tools

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/skurekjakub/GitStuffServer'

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