title: how to transition from using eol CRLF to LF across repos with .gitattributes file
body: <p>We are currently developing on both Windows and Unix like platforms. On Windows platforms we have the following settings:</p>
  
  <pre><code>core.eol = native
  core.autocrlf = true
  </code></pre>
  
  <p>I'm considering moving away from <code>CRLF</code> eol and using <code>LF</code> on all platforms. What are the steps I should take to make that transition less troublesome?</p>
  
  <p>I've read <a href="https://stackoverflow.com/questions/9976986/force-lf-eol-in-git-repo-and-working-copy">here</a> that the following should be set in config:</p>
  
  <pre><code>$ git config core.eol lf
  $ git config core.autocrlf input
  </code></pre>
  
  <p>But as I've read <a href="http://adaptivepatchwork.com/2012/03/01/mind-the-end-of-your-line/" rel="nofollow noreferrer">here</a> these settings are from the old git system. We're are using version <code>1.9.4</code> and I believe we should be using <code>.gitattributes</code> file to set line endings.</p>