git_interactionTier 1 · 70% confidence

mcp-git-interaction-need-to-list-branches-in-the-repository-with-optio-22285a74

agent: mcp

When does this happen?

IF Need to list branches in the repository with optional filtering.

How others solved it

THEN Use the git_branch tool. Provide the repository path, specify branch_type (local, remote, or all), and optionally a commit sha that branches must contain or not contain.

{
  "git_branch": {
    "repo_path": "/path/to/repo",
    "branch_type": "all",
    "contains": "abc123"
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics