git_diff_staged
Generate a unified diff of all staged changes in a Git repository, ensuring the path is within the allowed directory. Enhances code review and preparation for commits in AI-assisted development workflows.
Instructions
Shows changes staged for commit. Returns a unified diff format of all staged changes. Repository must be within the allowed directory.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
repo_path | Yes | Path to git repository |