We are currently developing on both Windows and Unix like platforms. On Windows platforms we have the following settings:
core.eol = native
core.autocrlf = true
I'm considering moving away from CRLF
eol and using LF
on all platforms. What are the steps I should take to make that transition less troublesome?
I've read here that the following should be set in config:
$ git config core.eol lf
$ git config core.autocrlf input
But as I've read here these settings are from the old git system. We're are using version 1.9.4
and I believe we should be using .gitattributes
file to set line endings.