PhpStorm Git Commit提示Line Separators Warning的解决方法

PhpStorm 使用 Git Commit 提交项目的时候总是提示“Line Separator Warning:You are about to commit CRLF line separators to the Git repository.”如下图所示:

PhpStorm Git Commit提示Line Separators Warning的解决方法 经验总结 第1张

解决方法:

应该是换行符编码的问题,编辑器右下角点击 CLRF ,改为 LF ,再尝试提交即可。

PhpStorm Git Commit提示Line Separators Warning的解决方法 经验总结 第2张

推荐阅读:

PhpStorm提示interpreter is not configured解决方法

CSS中的background属性与margin和padding内外边距的关系总结

Ueditor后端配置项没有正常加载,上传插件不能正常使用!的解决过程。

各大网站CSS初始化代码集合

2018年4月24日 服务器换成腾讯云

赞 (0)
分享到: +

评论 沙发

换个身份

  • 昵称 (必填)
  • 邮箱 (选填)