Git: changed files between two commits
⚠️ This content was imported from a previous incarnation of this blog, and may contain formatting errors
If you need a list of all modified files between two commits, you can use the following command;
git diff --name-only SHA1 SHA2
You can also pipe the output to a file (in the parent directory) as follows;
git diff --name-only SHA1 SHA2 > ../filename.txt