Configure line endings
Configures the line endings for a repository.
- Use
git config core.eol [lf | crlf]
to configure the line endings. lf
is the UNIX line ending (\n
), whereascrlf
is the DOS line ending (\r\n
).
git config core.eol [lf | crlf] # Examples git config core.eol lf # Configured to use UNIX line endings