Can anyone explain why core.autoccrlf=true makes Git replace LF with CRLF
on Linux? Full reproduction:
$ cat /etc/redhat-release; git --version
Fedora release 17 (Beefy Miracle)
git version 22.214.171.124
$ git config -l
$ rm -rf test; mkdir test; cd test; git init; echo bar >foo.txt; git add
Initialized empty Git repository in /tmp/test/.git/
warning: LF will be replaced by CRLF in foo.txt.
The file will have its original line endings in your working directory.
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To view this discussion on the web visit
To post to this group, send email to firstname.lastname@example.org.
To unsubscribe from this group, send email to
For more options, visit this group at