Windows EOL Exceptions
Some Windows-native formats break with LF-only:
-
Batch scripts (
.bat,.cmd) -
Registry export files (
.reg) -
Certain PowerShell scenarios
-
Some Visual Studio project/filter files
Override with .gitattributes (e.g. *.bat text eol=crlf) or EditorConfig end_of_line = crlf for those paths.