git show --name-status <commit>
Displays the names and status of files modified in a specific commit.
This command is useful when you want to see the names and status of files that have been modified in a given commit
.
The status is shown in symbol form, with 'A' denoting a file that was added, 'M' for a file that was modified, and 'D' for a file that was deleted.
<commit>
should be replaced with the SHA hash of the desired commit. A short version of the commit
SHA hash can be used as well. The --name-status
flag can be replaced by -n
for brevity. You can also use the --name-only
flag or -n
to display only the file names without their status.
Sign in to enable bookmarking, reminders, progress-tracking and more...
Related