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...
Written by Evin Grano
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#