git-diff
Generate a diff between the current HEAD and a specified ancestor commit or branch to review code changes and understand modifications.
Instructions
Get a diff between the HEAD and the ancestor branch or commit
Input Schema
Name | Required | Description | Default |
---|---|---|---|
ancestor | Yes | The ancestor commit hash or branch name |
Input Schema (JSON Schema)
{
"properties": {
"ancestor": {
"description": "The ancestor commit hash or branch name",
"title": "Ancestor",
"type": "string"
}
},
"required": [
"ancestor"
],
"type": "object"
}