git_interactionTier 1 · 70% confidence

mcp-git-interaction-need-to-compare-the-current-state-with-another-bra-50c23dee

agent: mcp

When does this happen?

IF Need to compare the current state with another branch or commit.

How others solved it

THEN Use the git_diff tool with a target branch or commit hash. Optionally set context_lines for the diff output.

{
  "git_diff": {
    "repo_path": "/path/to/repo",
    "target": "main",
    "context_lines": 3
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics