Automatic Line Ending Normalization
suggest changeCreate a .gitattributes file in the project root containing:
* text=auto
This will result in all text files (as identified by Git) being committed with LF, but checked out according to the host operating system default.
This is equivalent to the recommended core.autocrlf defaults of:
inputon Linux/macOStrueon Windows
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents