Our team has people working on macs and windows. So far we had our git automatic line ending set to true
(on OSX) and input
(on Windows).
It works nice, unless there is a merge conflict. In this case both SourceTree and GitKraken mess up the merge on Windows since they see all the lines ending with LF as one line.
Should all of us use the same value of core.autocrlf
(in that case which one?) or are there some fixes for specific applications?
Note: Currently we do manual merging when line endings get messed up, but this is painful.
Also setting core.autocrlf
to false
is not an option as wrong line endings on config files crash build on linux.