I am facing a Git (Github.com) issue, that it cannot properly render newlines. Instead, it renders a set of "^M" symbols where newline character (-s) should be.
An image below is an excerpt of a diff:
I have set the git option "git config --global core.autocrlf true". I have also changed the file encoding to UTF-8. Before it was windows-1252 (I have recommited the files). Neither of these actions helped.
Environment details:
- IDE: PHPStorm 2017.3.6
- OS: Windows 10
- Language: PHP
Thank you!