title: Trying to clone a repository but the line endings are wrong
body: <p>I have cygwin and msysgit on my computer.  I am trying to clone a repository for a vim package with this command:</p>
  
  <pre><code>cd ~/.vim/bundle
  git clone https://github.com/jelera/vim-javascript-syntax.git
  </code></pre>
  
  <p>However, when I run vim, it fails, reporting error <code>E488: Trailing characters</code>.  This appears to be cause by the line endings being <code>CRLF</code> rather than just <code>LF</code>, which is confirmed when I replace them.</p>
  
  <p>Of course replacing them manually isn't what I want.  I'd rather have git do it for me.  However, as I am using my computer for developing on the Windows platform, I don't want to modify any global settings.</p>
  
  <p>Is there a command line switch to have git clone a repo using <code>LF</code> <code>EOLs</code> only?</p>