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.

Want to get away from Pipdig drama? See 30+ Pipdig blog themes alternatives See here →