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.

Newsletter

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

Meta Box - Creating expert WordPress custom fields and custom meta boxes in minutes! Check it out →