title: Disable git EOL Conversions
body: <p>I am trying to get git to not change any line endings whatsoever for any operation.  Unfortunately, it seems to do so not matter what.  I have reduced it down to the following test case, which has as many different mechanisms for disabling this behavior as I could find.</p>
  
  <hr>
  
  <ul>
  <li>Begin with two machines (Windows computer = A, Linux computer = B)</li>
  <li>On both machines: <code>git config --global core.autocrlf false</code></li>
  <li>On both machines: <code>git config --global core.eol crlf</code> (just in case)</li>
  </ul>
  
  <hr>
  
  <ul>
  <li>Make new repository on A.  From an empty folder:
  
  <ul>
  <li><code>git init --shared</code> (then unhide the created <code>.git</code> directory)</li>
  <li>Make a new file <code>.gitignore</code> in the repository</li>
  <li>Make a new file <code>.gitattributes</code> in the repository with the single line: <code>* -text</code></li>
  <li><code>git add .</code>, then <code>git commit -m "initial commit"</code> to work around, e.g. <a href="https://github.com/wakatime/sublime-wakatime/issues/15" rel="noreferrer">this</a>.</li>
  <li><code>git branch master_recv</code></li>
  <li>Add remotes</li>
  </ul></li>
  <li>Make a new file <code>document.txt</code> in the repository containing CRLF</li>
  <li>Commit: <code>git add -A</code>, then <code>git commit -m "&lt;something&gt;"</code></li>
  <li>Note that A's <code>document.txt</code> still contains CRLF (and deleting it and resetting with <code>--hard</code> returns the version still with CRLF)</li>
  </ul>
  
  <hr>
  
  <ul>
  <li>SCP the whole directory to computer B</li>
  <li>Add a new file <code>new file</code> containing CRLF</li>
  <li>Commit: <code>git add -A</code>, then <code>git commit -m "&lt;something&gt;"</code></li>
  <li>Note that B's <code>document.txt</code> and B's <code>new file</code> both still contain CRLF</li>
  </ul>
  
  <hr>
  
  <ul>
  <li>Pull B's master to A: <code>git pull &lt;remote&gt; master:master_recv</code></li>
  <li>A's <code>document.txt</code> has changed to LF.  The added file <code>new file</code> also contains LF.</li>
  </ul>
  
  <p>The problem does not occur if B is a Windows machine.</p>