Reputation: 312
I'd like to list all new files in a commit, I am trying the following command, but it is not filtering by commit, it is returning all commits.
git whatchanged --diff-filter=A --pretty=format: bc895ad6a411683f5737d4a4b89e52f54cd2d68c
Upvotes: 2
Views: 85
Reputation: 312
I got it, the command bellow do precisely what I want.
git show <hash> --name-status --diff-filter=A
Upvotes: 3