Can I make 'git diff' only display the line numbers AND changed file names?


This question calls for "line numbers". If you do not care about line numbers in the output, see this question and answer.

Basically, I don't want to see the changed content, just the file names and line numbers.


You can use this command to see the changed file names, but not with line numbers:

git diff --name-only

Go forth and diff!

Visual Studio Code is always asking for Git credentials

How to find/identify large commits in git history?