【发布时间】:2016-12-14 00:36:59
【问题描述】:
我使用了这个全局设置:
$ git config --global core.autocrlf input
在我的 OSX 系统上应该在 LF 中留下行尾。然后我尝试在 sourcetree 中暂存文件,但收到但收到此致命错误:
致命:CRLF 将在...中被 LF 替换
据我了解,我想在我的 OSX 系统上将 CRLF 转换为 LF,对吗?上面的 git cmd 不正确吗?为什么我会在 SourceTree 中收到此致命错误?另外,我讨厌 git。
【问题讨论】:
标签: git macos atlassian-sourcetree