I just want to see the files that were committed in the last commit exactly as I saw the list when I did git commit. Unfortunately searching for
git "last commit" log
in Google gets me nowhere. And
git diff HEAD^..HEAD
is not what I need, of course, since it spews the guts of the change too.
As determined via comments, it appears that the OP is looking for
This is also very close to the output you’d get from
svn statusorsvn log -v, which many people coming from subversion to git are familiar with.--name-statusis the key here; as noted by other folks in this question, you can usegit log -1,git show, andgit diffto get the same sort of output. Personally, I tend to usegit show <rev>when looking at individual revisions.