.gitattributes don't work properly on mac and windows
<p>On my project i use computers with different OS, one is Mac second is with windows. When I use git every change is shown as whole document change. The reason is different end-of-line in these two OS. I read this <a href="https://help.github.com/articles/dealing-with-line-endings/" rel="noreferrer">https://help.github.com/articles/dealing-with-line-endings/</a> and made a <code>.gitattributes</code> file in the root folder but the problem still exists. This is my <code>.gitattributes</code> file:</p>

<pre><code># Set the default behavior, in case people don't have core.autocrlf set.
* text=auto

# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.

*.css text
*.html text
*.js text

# Declare files that will always have CRLF line endings on checkout.
*.sln text eol=crlf

# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
</code></pre>

<p>I have no idea why it's not working because I was try a lot of configurations of this file before.</p>