How to see list of files added in a specific commit?

git add .
git commit-m "first"
// change file
git add .
git commit-m "second"

As we now view the list of files (namely a list of files, not changes in them) in the first commit?
March 12th 20 at 08:10
1 answer
March 12th 20 at 08:12
git diff-tree --no-commit-id --name-only-r COMMIT_ID

Find more questions by tags Git