Gets file changes between two git references.
Compares two git refs directly using git diff base..head. Both refs are ensured to be available locally before comparison.
git diff base..head
Base reference (commit, branch, or tag)
Head reference (commit, branch, or tag)
Array of files changed between the two references
When references cannot be resolved or git command fails
Gets file changes between two git references.
Compares two git refs directly using
git diff base..head
. Both refs are ensured to be available locally before comparison.