$ git config core.autocrlf false
$ git config --global core.eol lf
This will automatically convert the line endings to LF during check-in and check-out of project.
$ git config --global core.eol lf
This will automatically convert the line endings to LF during check-in and check-out of project.