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.
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…