git -> show list of files changed in recent commits in a specific directory

To show all files changed in the last 10 commits, without any commit information, do:

git diff --name-only HEAD~10..HEAD yourdir

This one is more similar to the svn command as it shows the file status: Added (A), Copied (C), Deleted (D), Modified (M), Renamed (R), and others.

git log --name-status -10 path/to/dir

It is worth looking at the full documentation page for git log. There you will learn that -10 refers to the past 10 commits, and -p will give you the full patch, among a variety of other goodies.


Try to do

git log -p -10 yourdir/

It should work.

Tags:

Git