Menu

gitpiper

Configure line endings git Code Snippet in 2025

repositoryconfigurationintermediate

Last Updated: 23 April 2025

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), 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

git snippet similar to Configure line endings For You in April 2025

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️

© 2025 GitPiper. All rights reserved

Rackpiper Technology Inc

Company

About UsBlogContact

Subscribe to our Newsletter

Subscribe to get resources directly to your inbox. You won't receive any spam! ✌️