git
Execute read-only git commands on ShadowGit repositories for debugging and code analysis. Specify the repository and command to query commit history, diffs, or other insights. Requires valid repo from list_repos().
Instructions
Execute read-only git commands on a specific ShadowGit repository.
IMPORTANT: You MUST specify which repository to query. Use list_repos() first to see available repositories.
Example usage:
git({repo: "shadowgit-app", command: "log --oneline -5"})
git({repo: "/Users/alex/project", command: "diff HEAD~1 HEAD"})
Input Schema
Name | Required | Description | Default |
---|---|---|---|
command | Yes | Git command to execute (read-only commands only) - REQUIRED | |
repo | Yes | Repository name (from list_repos) or full path - REQUIRED |
Input Schema (JSON Schema)
{
"properties": {
"command": {
"description": "Git command to execute (read-only commands only) - REQUIRED",
"type": "string"
},
"repo": {
"description": "Repository name (from list_repos) or full path - REQUIRED",
"type": "string"
}
},
"required": [
"repo",
"command"
],
"type": "object"
}