In our development environment we use Windows, Mac, and Linux. I am having trouble when it comes to the commit -> pull -> push
work flow.
The problem is end of line characters. If someone makes an edit on Mac and some one else makes an edit on Windows they conflict when pulling. The diff shows the entire file as different because the line endings have changes.
So my question is how can I setup all environments to convert all line endings to just LF when committing. And when pulling, don't change the line ending, leave it as LF.
autocrlf input
– Vc