I\'m using Intellij IDEA 14 on Windows and Git as VCS on Unix server. The line separator in Windows is CLRF (\\r\\n) and LF (\\n) in Unix. In Git, I\'m
\\r\\n
\\n
In the bottom right of your window, change [CRLF] to [LF]
[CRLF]
[LF]