I have referred to https://help.github.com/articles/dealing-with-line-endings/#platform-linux and set * text=auto in .gitattributes.
Here is the issue I have:
The git repository is set on a network drive and I can access it through windows or Linux. If I run git.exe( ver 2.5.3.windows.1), I will see many unstaged files.
git.exe diff HEAD
However, if I run git(ver 2.5.3) under linux, I will see none of the unstaged files.
The reason why the windows Git reports difference is that the unstaged files have linux ending while the commited files are with windows line ending.
Question> Why different version of Gits report different results here?
Thank you