0 votes
43 views

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

in Technology by (48.2k points)

1 Answer

0 votes

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

by (48.2k points)

Related questions

0 votes
1 answer 89 views
0 votes
1 answer 19 views
0 votes
1 answer 33 views
0 votes
1 answer 24 views
24 views asked Jan 8 in Technology by JackTerrance (187k points)
0 votes
1 answer 20 views
0 votes
1 answer 23 views
0 votes
1 answer 18 views
0 votes
1 answer 11 views
0 votes
1 answer 22 views
...