Last active
January 7, 2023 17:33
-
-
Save germanfrelo/940b8cefd9d1bcddcd0bf837a17ce275 to your computer and use it in GitHub Desktop.
Normalize line endings in Git (.gitattributes)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ensure that text files introduced to the repository have their line endings normalized to LF. More info: | |
# - https://git-scm.com/docs/gitattributes#_end_of_line_conversion | |
# - https://docs.github.com/en/get-started/getting-started-with-git/configuring-git-to-handle-line-endings | |
# - https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/ | |
* text=auto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment