Git diff showing entire file is modified after changing a single line of code and this issue showing only for some files in a directory.
Asked
Active
Viewed 27 times
0
-
Can you include the output of git-diff, as well as the actual changes made? – anerisgreat Nov 06 '19 at 10:23
-
are the files maybe binary? – mimikrija Nov 06 '19 at 10:56
-
Start with [VonC's answer here](https://stackoverflow.com/a/3209806/1256452) to a very old question about line-endings, and learn all about CRLF vs LF-only, which is no doubt the root of your issue. – torek Nov 06 '19 at 19:37