【发布时间】:2014-11-12 09:48:35
【问题描述】:
我在 Windows 上,autocrlf 从来都不是问题。我一直在系统范围的配置中将其设置为 false,并且从未将其更改为 true。然而,在我的一个仓库中,git config core.autocrlf 开始报告“真实”。
这是我的系统范围配置(C:\Program Files (x86)\Git\etc\config):
[core]
...
autocrlf = false
然后在我的全局配置 (C:\Users\Borek\.gitconfig) 和 myproject\.git\config 中没有提及 autocrlf。不过,当我跑步时
git config core.autocrlf
它打印出来是真的。会是什么?
【问题讨论】:
标签: git core.autocrlf