Configure line endings
Git, Repository, Configuration · Apr 13, 2021
Configures the line endings for a repository.
git config core.eol [lf | crlf]to configure the line endings.
lfis the UNIX line ending (
crlfis the DOS line ending (
git config core.eol [lf | crlf]
git config core.eol lf # Configured to use UNIX line endings
Written by Angelos Chalaris
If you want to keep in touch, follow me on GitHub or Twitter.