← All atoms

git-diff

tool-definition · v1.0.0

Show changes between commits, branches, or working tree. Read-only.

Tool signature

function git_diff(base: string?, head: string?, paths: array?) → string

Run `git diff` and return the unified diff.

Parameters

Side effects

fs-readexec

Raw atom

/atoms/tool-definition/git-diff.json · schema