gitgit-loggit-format

"git log --oneline" with a blank line as separator


How can I show a blank line between each line on the output of git log --oneline?


Solution

  • You could achieve that by simpling recreating what --oneline is doing in a custom format, and add a newline.

    git log --pretty="%C(auto)%h %d %s%n"