As stated in Git on Windows (msysgit) - ending a Unix or DOS line , I would use:
git config --system core.autocrlf false
This will avoid any automatic transformation of eol (see " Git on Windows: what do crlf values ββmean? " For the exact value of this parameter value),
You can leave it true, as described in Git replacing LF with CRLF , but I prefer to install core.eol + some gitattribute files in order to fine-tune some of the files I want to change eol to.
See this answer for more details.
VonC May 21 '11 at 12:43 2011-05-21 12:43
source share