Gibt es einen anderen Ort für eine Git-Konfigurationseinstellung als global, system und lokal?
Ich bin auf Git Version 2.8.3.windows.1 und ein bisschen ratlos darüber, wo diecore.autocrlf
ie @ -Einstellung wird gerade gespeichert. In Git Extensions wird dies als "nicht gesetzt" angezeigt, jedoch erhalte ich beim Abfragen von git config Folgendes:
$ cd /c <-- i.e. not a repo
$ git config --get core.autocrlf
false
$ git config --global --get core.autocrlf
(nothing)
$ git config --system --get core.autocrlf
(nothing)
$ git config -l
core.symlinks=false
core.autocrlf=false
core.fscache=true
...
$ git config --system -l
credential.helper=manager
$ git config --global -l
core.editor="C:/Program Files (x86)/GitExtensions/GitExtensions.exe" fileeditor
core.quotepath=false
color.ui=auto
... (not here either)
$ git config --local -l
fatal: unable to read config file '.git/config': No such file or directory
Die .gitconfig-Datei hat es auch nicht
$ cat ~/.gitconfig
[core]
editor = \"C:/Program Files (x86)/GitExtensions/GitExtensions.exe\" fileeditor
quotepath = false
So bekomme ich, wie GitExt es als "nicht gesetzt" anzeigt, aber ich verstehe überhaupt nicht, wiegit config -l
erhält den Wert fürcore.autocrlf
. Und ich kann es scheinbar nicht loswerden, um es neu zu schreiben:
$ git config --unset core.autocrlf
fatal: not in a git directory
$ git config --unset --global core.autocrlf
$ git config -l
core.symlinks=false
core.autocrlf=false
core.fscache=true
...
Vielen Dank