Show changes between two commits.
Base commit.
Target commit.
Optional
Optional paths to limit the diff output.
await git.diffCommits("HEAD~1", "HEAD")await git.diffCommits("main", "dev", ["src"]) Copy
await git.diffCommits("HEAD~1", "HEAD")await git.diffCommits("main", "dev", ["src"])
diffRange
0.2.0
Show changes between two commits.