git - Git自动将html文件lf转换为crlf
问题描述
当 git push 文件时,所有 html 都被转换了,只有 html 文件,Git 将 LF 转换为 CRLF
我的 git 配置:
$ git config --global --list
user.email=xxx@163.com
user.ename=Jarrem
core.longpaths=true
core.quotepath=false
core.filemode=false
core.autocrlf=input
core.safecrlf=false
我的想法配置:
Line separator : Unix and OS(\n)
解决方案
推荐阅读
- python - 每个邮件合并文档后的空白页
- google-apps-script - 为什么会出现此错误:参数 (String,number,number,number) 与 SpreadsheetApp.Spreadsheet.getRange 的方法签名不匹配
- javascript - Javascript String.split 应该以 1 作为分隔符分割二进制字符串
- sonarqube - 将 sonarqube 历史从一台服务器迁移到另一台服务器
- reactjs - 我可以将 React 用户帖子长度分享给其他组件吗
- encoding - 调查数据的预处理
- python - 在 Python 中检查字符串的 int 值是否为零、正数或空
- powerbi - 如何让 PowerBI 在 csv 中将点读取为十进制
- r - R - 具有宽数据的晶格水平图轴调整
- java - 在 java swing 中更新 JComboBox 的问题