git - changed file summary like svn diff --summarize/svn status from console (no gitk)

diff, git, svn

Solution

git diff <commit> --name-status

Problem

`svn diff --summarize` shows the changes at the file level for a commit. Output it something like: ``` M modified-foo.bar D deleted-file.bar A new-file.bar ``` Similar to svn status, but for commits. I would be happy with output similar to git status, but for a particular commit instead of the working copy. I know I could fire up gitk to see such a summary, but I want it in a shell.

Original source