File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ root = true
2+
3+ [* ]
4+ charset = utf-8
5+ end_of_line = lf
6+ insert_final_newline = true
Original file line number Diff line number Diff line change 1+ # Default: treat as text, normalize to LF in the repository
2+ * text =auto eol =lf
3+
4+ # Typical source files (explicit, but the default already covers these)
5+ * .c text eol =lf
6+ * .cpp text eol =lf
7+ * .h text eol =lf
8+ * .py text eol =lf
9+ * .js text eol =lf
10+ * .ts text eol =lf
11+ * .sh text eol =lf
12+ * .yaml text eol =lf
13+ * .yml text eol =lf
14+ * .json text eol =lf
15+ * .css text eol =lf
16+ * .cs text eol =lf
17+
18+
19+ # Windows-native scripts that often *must* be CRLF in the working tree
20+ # (repo still stores LF; checkout converts to CRLF)
21+ * .bat text eol =crlf
22+ * .cmd text eol =crlf
23+ * .ps1 text eol =crlf
24+
25+ # Binary files (never touch line endings)
26+ * .png - text
27+ * .jpg - text
28+ * .zip - text
29+ * .pdf - text
You can’t perform that action at this time.
0 commit comments