Answer the question
In order to leave comments, you need to log in
How to solve the problem of different line separators in team development?
Team development project. It so happened that part of the project was written on the windows editor, part on linux.
At the moment, programmers also work on different platforms in the PHPStorm editor.
Therefore, when opening files on Windows, those that were created on Linux due to CR vs CRLF, git recognizes the slightest change as a completely different file (and vice versa).
How to adequately solve this problem or bypass it?
Answer the question
In order to leave comments, you need to log in
Make everyone use LF and forget about this problem. PHPStorm is smart enough to understand this format on Windows as well.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question