Automatically converting CRLF line endings to LF ones
From Ben's Writing
Run:
git config --global core.autocrlf true
This means that Git converts line endings to CRLF (Windows line endings) in your work tree and to LF (Unix line endings) in the repository. This is the right choice for cross-platform projects. If you wish to keep the old behavior, you can run
git config --global core.autocrlf false
for the user accounts that shall use the old default; or you can set the system-wide default by editing "etc/gitconfig" in the installation directory."