title: What's the strategy for handling CRLF (carriage return, line feed) with Git?
body: <p>I tried committing files with CRLF-ending lines, but it failed.</p>
  <p>I spent a whole work day on my Windows computer trying different strategies and was almost drawn to stop trying to use Git and instead try <a href="http://en.wikipedia.org/wiki/Mercurial" rel="noreferrer">Mercurial</a>.</p>
  <p>How to properly handle CRLF line endings?</p>