git_diff
Compare Git repository changes by generating unified diffs between the current state and a target branch or commit, ensuring the repository is within the allowed directory for analysis.
Instructions
Shows differences between branches or commits. Returns a unified diff format comparing current state with target. Repository must be within the allowed directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repo_path | Yes | Path to git repository | |
target | Yes | Target branch or commit to compare with |