I want the git log
of a single commit but without the diff.
So far this is the simplest solution:
git log -1 <commit>
It looks like I want the -<number>
switch. From the man page:
-<number>, -n <number>, --max-count=<number>
Limit the number of commits to output.
This is not an exact duplicate of either of the listed questions.