git log only summary code example Example 1: git log one line git log --oneline Example 2: git log by author git log --author="Jon"