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.
Asked: 2023-06-19 09:41:29 +0000
Seen: 9 times
Last updated: Jun 19 '23