How do I list all of the files in a commit?

Preferred Way (because it’s a plumbing command; meant to be programmatic): Another Way (less preferred for scripts, because it’s a porcelain command; meant to be user-facing) The –no-commit-id suppresses the commit ID output. The –pretty argument specifies an empty format string to avoid the cruft at the beginning. The –name-only argument shows only the file names that were affected (Thanks Hank). Use –name-status instead, if you want to see … Read more