git show <commit> --oneline not showing oneline
I think this'll do what you want
git show --no-patch --oneline
May
git log HEAD --oneline --no-walk
is what you want.
BTW, there is --pretty
and --oneline
the same as git log
in git rev-list
, maybe the pipe is unnecessary.