git config core.eol [lf | crlf] to configure the line endings.lf is the UNIX line ending (\n), whereas crlf is the DOS line ending (\r\n).git config core.eol [lf | crlf]
git config core.eol lf # Configured to use UNIX line endings
Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️