Skip to content

Home

Configure line endings

Configures the line endings for a repository.

git config core.eol [lf | crlf]

# Examples
git config core.eol lf # Configured to use UNIX line endings

More like this

Start typing a keyphrase to see matching snippets.