0 votes
in Technology by (55.5k points)

How do you find a list of files that have been changed in a particular commit?

1 Answer

0 votes
by (55.5k points)

The command to get a list of files that have been changed in a particular commit is:

git diff-tree –r {commit hash}

Example: git diff-tree –r 87e673f21b

-r flag instructs the command to list individual files

commit hash will list all the files that were changed or added in that commit

...