[Git] Command Line How to list down all the affected files by a Git Commit


You may need to view a list of affected files by a single git commit by single command


Use following command

git diff-tree --no-commit-id --name-only -r <commit hash>

Replace <commit hash> with your commit hash

Leave a Reply

(*) Required, Your email will not be published