Problem
You want to see the changed files between two commits in a GIT repository, e.g. to upload only changes to a webserver.
Solution
git diff --name-only SHA1 SHA2
Sample
git diff --name-only 71d9def3c587ca8d26b8140560f6bb3c89ec9593 HEAD
You want to see the changed files between two commits in a GIT repository, e.g. to upload only changes to a webserver.
git diff --name-only SHA1 SHA2
git diff --name-only 71d9def3c587ca8d26b8140560f6bb3c89ec9593 HEAD
Leave a Reply