title: Understanding the warning "LF will be replaced by CRLF"
body: <p>I have already read the Git documentation discussed in this answer (<a href="https://stackoverflow.com/questions/5834014/lf-will-be-replaced-by-crlf-in-git-what-is-that-and-is-it-important">LF will be replaced by CRLF in git - What is that and is it important?</a>) but I don't understand what it means for my situation.</p>
  
  <p>I have LF files which were introduced by a tool into my git checkout on Windows. When I tried to commit them, I got the warning <code>warning: LF will be replaced by CRLF in [file]</code>.</p>
  
  <p><code>git config core.autocrlf</code> is true on this machine. I committed anyway. The line endings on Windows are still LF. Then I checked out the file on a Linux machine where <code>git config core.autocrlf</code> doesn't appear to be set. I inspected the line endings there, and they were also LF.</p>
  
  <p>So what I don't understand is, WHERE is it saying that LF will be replaced by CRLF? Does it mean, next time I pull a change to the file (which is committed by somebody from another machine) the line endings will be converted?</p>
  
  <p>Also - what line endings does Git use in its internal repo?</p>