How to show only file names in Git log

To show only file names in Git log, use this command:

git log --name-status --graph --oneline

The key parameter here is --name-status. The others are optional. They just make the output look prettier.


Subscribe to our newsletter to receive news and tutorials about WordPress and web development.

Meta Box - The most lightweight yet powerful WordPress custom fields plugin Get It Now