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
git log --format="%H" -n 1
Use the above command to get the commitid, hope this helps.