I am trying to customize the format for git log. I want all commits to be shown in one line. Each line should only show the first line of the commit message. I
git log
Without commit messages, only the hash:
git log --pretty=oneline | awk '{print $1}'