git long online code example Example 1: git log with numbers git log --oneline | nl Example 2: git log by author git log --author="Jon"