I am facing a strange issue with git diff. The output of the command shows the files that were changed but does not show the exact change in the lines. It happens for both commands:
git diff
and
git diff --staged
Could anyone please suggest why this could be happening? Thanks!
I tried searching online but apparently, this is not a common issue and --name-only is the option to display only file names. In my case, the default output shows only modified file names.