title: Git, adding files to repository gives fatal error for LF ->CRLF
body: <p>I'm new to git and I need some help. I'm using msysgit on windows.</p>
  
  <p>When I execute the command <code>git add [folderName]</code> I get the response:</p>
  
  <pre><code>fatal: LF would be replaced by CRLF in [.css file or .js file]
  </code></pre>
  
  <p>and then if you try to do a commit nothing happens.</p>
  
  <pre><code>$ git commit
  # On branch master
  #
  # Initial commit
  #
  # Untracked files:
  #   (use "git add &lt;file&gt;..." to include in what will be committed)
  #
  #       so01/
  nothing added to commit but untracked files present (use "git add" to track)
  </code></pre>
  
  <p>Some of these css/js files were downloaded from the net so I guess that's why the have LF.
  If I open the file and cut/paste the content, then I get the error on the next file and so on.</p>
  
  <p>Any help will be much appreciated.</p>
  
  <p><strong>Edit</strong></p>
  
  <p>Setting <code>core.autocrlf</code> to false seems to solve the problem, but I read on many posts not to set this option to false.</p>
  
  <p>Can somebody point me where can I find out what problems may arise in this situation? </p>