filmov
tv
How to show the names of files changed in a Git commit

Показать описание
It's tough keeping track of the different files that changed between one Git commit and another. In this quick tutorial, we'll show you hot to list the names of the files that change in a given Git commit. It's fairly easy, actually. the Git command to show only the names of the files that were updated in a given commit is:
git diff --name-only commit-id1 commit-id2
And that's it, that's the command you'll need to run to print out and show the names of the files that changed between two Git commit ids.
git diff --name-only commit-id1 commit-id2
And that's it, that's the command you'll need to run to print out and show the names of the files that changed between two Git commit ids.