in Technology by

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

Please log in or register to answer this question.

1 Answer

0 votes
by

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

Related questions

...