title: How to to disable Git end-of-line (CRLF to LF) across all clones/machines?
body: <p>As one can glean <a href="https://stackoverflow.com/questions/2332349/best-practices-for-cross-platform-git-config">from</a> <a href="https://stackoverflow.com/questions/2016673/definitive-recommendation-for-git-autocrlf-settings">other</a> <a href="https://stackoverflow.com/questions/1249932/git-1-6-4-beta-on-windows-msysgit-unix-or-dos-line-termination">posts</a>, Git's end-of-line normalization has its pros and cons. I have one particular Windows-only project where I think the best thing to do is to is to disable end-of-line normalization altogether. That is, I want to leave all newlines (most of which are <code>CRLF</code>) intact, rather than have git normalize them to <code>LF</code>-only behind the scenes, and I want that change to affect all clones of the repository on all machines. The question is the most effective way to do it.</p>
  
  <p>Most discussions of Git end-of-line normalization are in terms of <code>core.autocrlf</code>, and I could accomplish my goal by setting <code>core.autocrlf=false</code>. However, this is a git-config setting, and I believe one has to set that separately on each machine by machine. If true, that seems error prone, especially since the <a href="http://code.google.com/p/msysgit/" rel="noreferrer"><code>msysgit</code></a> installer guides one into setting <code>core.autocrlf=true</code>.</p>