"Alexander Veit" [off-list ref] writes:
Jakub Narebski wrote:
quoted
See `crlf` attribute, which can be set, unset, unspecified, set
to "input", and used together with core.autocrlf ("true", "false",
"input") and core.safecrlf. Attributes can be set per path (using
globbing patterns) in .gitattributes file in tree, or in
.git/info/attributes (per repository).
I've already tried
[core]
autoCRLF = true
in the global gitconfig under Windows.
That would not be per-file anyway.
What Jakub suggested makes sense. You want to read up on
gitattributes(5).