I can use commands like
git diff --stat <commit-hash-1> <commit-hash-2>
or
git diff --name-status <commit-hash-1> <commit-hash-2>
(from, for example, here and here ) to list files that have changed between two commits, but how do I list directories? That is, how would I list directories that were added or removed between two commits?
NB There is a similarly formulated question here , but the question and answers include files, I just need directories.
source
share