參考:https://stackoverflow.com/questions/27524228/phpstorm-sync-how-to-ignore-line-separators
這些天一直很惱人的一個問題, 寫了點代碼然後還原了,提交還是顯示要提交英文提示:
contents have differences only in line separators
然後我百度了下參照國外老哥的方式Settings | Editor | Code Style --> Line Separator
因爲沒有找到 Line Separator,我就直接搜索,然後給打勾,apply下就好了,這個應該是自動忽略換行啥的