Last Updated: February 25, 2016
·
379
· etgryphon

Listing Changes from a Git Commit

If you use the command:

git diff-tree --no-commit-id --name-status -r <commit>..

This will give you all the changes from a certain commit.

git diff-tree --no-commit-id --name-status -r <commit>.. | grep "^A"

This will give you all the new files from that commit...