Analyze. Act. Achieve.
Kurinchilion KURINCHILION Analyze. Act. Achieve.

News

Git: Display log of commits with author name and date in single line

To display the git logs in a single line, we use the command

$ git log --oneline

To display git logs in a single line with commit id, author name and date we can use

$git log --pretty=format:"%h%x09%an%x09%aI%x09%s"

For more variations of the command, you can refer to kernel.org.