windows 中 core.autocrlf 在哪里设置?

Kla*_*urn 4 windows git

我在 Windows 7 中安装了 git 2.6.2。

我已经core.autocrlf设置为False. 我想知道那个设置是从哪里来的。我有以下奇怪的行为:

> cd c:\
> git config --global --list | select-string autocrlf
> git config --system --list | select-string autocrlf
fatal: unable to read config file 'C:\Program Files\Git\mingw64/etc/gitconfig': No such file or directory
> git config --list | select-string autocrlf

core.autocrlf=false
core.autocrlf=False


> git config core.autocrlf
False
Run Code Online (Sandbox Code Playgroud)

所以我没有core.autocrlf在全局配置中设置。我没有系统配置。我目前不在 git 目录中。不过,我得到不少于两个 core.autocrlf设置。它们是由 Git 二进制文件生成的吗?(如果是这样,为什么有两个设置?)

and*_*rea 5

查看 C:\ProgramData\Git\config。

有关更多详细信息,请参阅此问题(不仅仅是 core.autocrlf 具有“幻影”值,还有更多 :) )