git log linux code example Example 1: how to see shorthand version of git log git log --oneline Example 2: git log by author git log --author="Jon"