in Technology by

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

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

0 votes
    How do you find a list of files that have changed in a particular commit?...
asked Nov 2, 2020 in Technology by JackTerrance
0 votes
    How will you find out what all files have been changed in a particular Git commit?...
asked Nov 4, 2020 in Technology by JackTerrance
0 votes
    In Git how do you revert a commit that has already been pushed and made public?...
asked Nov 2, 2020 in Technology by JackTerrance
0 votes
    The _______________ policy, allows a transaction to commit even if it has modified some blocks that have ... Buffer Management in chapter Recovery System of Database Management...
asked Oct 10, 2021 in Education by JackTerrance
0 votes
    I want to merge two branches that have been separated for a while and wanted to know which files have been modified ... I missed... Select the correct answer from above options...
asked Feb 3, 2022 in Education by JackTerrance
0 votes
    How to list all the files in a commit?...
asked Jan 8, 2021 in Technology by JackTerrance
0 votes
    The __________________ contains a list of pages that have been updated in the database buffer. (a) Dirty ... , Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    The __________________ contains a list of blocks that have been updated in the database buffer. (a) ... Database Interview Questions and Answers for Freshers and Experience...
asked Oct 11, 2021 in Education by JackTerrance
0 votes
    What is the process for reverting a commit that has already been pushed and made public?...
asked Oct 4, 2020 in Technology by Editorial Staff
0 votes
    The data type of a column can never be changed once it has been created. True or false? Select the correct answer from above options...
asked Nov 29, 2021 in Education by JackTerrance
0 votes
    Which shows all the keys that have been type by you correctly or incorrectly in rapid typing software? 1Error ... you give answer) Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    Which shows all the keys that have been type by you correctly or incorrectly in rapid typing software? 1Error ... you give answer) Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    Which shows all the keys that have been type by you correctly or incorrectly in rapid typing software? 1Error ... you give answer) Select the correct answer from above options...
asked Dec 27, 2021 in Education by JackTerrance
0 votes
    Which shows all the keys that have been type by you correctly or incorrectly in rapid typing software? 1Error ... you give answer) Select the correct answer from above options...
asked Dec 26, 2021 in Education by JackTerrance
...