Open main menu

CDOT Wiki β

Changes

Mouse Lock Implementation FAQ

612 bytes added, 10:15, 2 November 2011
Added discussion section
git checkout .
</pre>
 
==Discussion==
'''NorthWind87''' With regard to the "windows line error" question, is it not enough to simply set core.autocrlf to false and core.eol to lf?
<pre>
git config unset core.autocrlf
git config --global unset core.autocrlf
git config --global core.autocrlf false
 
git config unset core.eol
git config --global unset core.eol
git config --global core.eol true
</pre>
That should be enough to avoid checking out crlf in the future. Deleting all files/directories in the repo directory except for the .git directory and checking out again should give the user lf line endings for all files checked out.