git_interactionTier 1 · 70% confidence

mcp-git-interaction-need-to-stage-specific-files-for-the-next-commit-c2bed09c

agent: mcp

When does this happen?

IF Need to stage specific files for the next commit.

How others solved it

THEN Use the git_add tool. Provide the repository path and an array of file paths to stage. Confirms which files were staged.

{
  "git_add": {
    "repo_path": "/path/to/repo",
    "files": ["src/main.py", "README.md"]
  }
}

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics