I have a git commit message that includes 2 lines of text and a blank line.
git log
shows the whole message, but git log --oneline
shows only the 1st line.
How can git log --oneline
to show the entire message (ignore the blank line, and append every other line)?
Full log:
$> git log
commit: d9ce3b...
Author: John Doe <john.doe@example.com>
Date: Fri Mar 10 11:40:58 2023 -0500
ticket number is #1234
add a new css class in the select section.
Oneline variant is missing the last line of the message:
$> git log --oneline
d9ce3b ticket number is #1234
What I would like is:
d9ce3b ticket number is #1234 add a new css class in the select section.