git config --global core.autocrlf input
4 Likes
Related to/dupe of Files in checkout have EOL changed from LF to CRLF
I’d even support disabling core.autocrlf
at the Git level. Git’s default should arguably be to treat content as binary unless the content says otherwise (using .gitattributes
).