Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Yes, it is possible to have 'git diff' show solely the line numbers and modified file names. You can use the following command to achieve this:

git diff --name-only --unified=0

This will show the modified file names and line numbers without any line-by-line changes. The --name-only option displays only the modified file names, while --unified=0 option displays no context around the changes.