git log with files affected code example Example 1: git log display files changed git log --name-only Example 2: git log by author git log --author="Jon"