diffCommits
Syntax
Description
returns the list of files that changed between the specified commits in the Git™ repository files
= diffCommits(repo
,firstCommit
,secondCommit
)repo
.
,
if files
= diffCommits(repo
,firstCommit
,secondCommit
,MergeBase=tf
)tf
is true, finds the merge base of firstCommit
and secondCommit
and returns the list of files that changed between the
merge base and secondCommit
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2025a