Git: how to list all the files in a commit

Git

To list all the files in a commit use command:

# git show commitId

To get a commitId use command:

# git log