File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ # --- Text and line endings ---
2+ # Force all text files to use LF line endings
3+ * text =auto eol =lf
4+
5+ # --- Java source files ---
6+ * .java text diff =java
7+
8+ # --- Gradle files ---
9+ * .gradle text
10+ * .gradle.kts text
11+ gradlew text eol =lf
12+ gradlew.bat text eol =crlf
13+
14+ # --- Configuration / properties ---
15+ * .xml text
16+ * .yml text
17+ * .yaml text
18+ * .properties text
19+
20+ # --- Scripts ---
21+ * .sh text eol =lf
22+ * .bat text eol =crlf
23+
24+ # --- Markdown / documentation ---
25+ * .md text
26+ * .adoc text
27+
28+ # --- Ignore generated binaries and archives ---
29+ * .jar binary
30+ * .war binary
31+ * .ear binary
32+ * .class binary
33+
34+ # --- Images / media ---
35+ * .png binary
36+ * .jpg binary
37+ * .jpeg binary
38+ * .gif binary
39+ * .ico binary
40+ * .svg text
41+
42+ # --- Misc ---
43+ * .pdf binary
44+ * .zip binary
45+ * .tar.gz binary
46+
47+ # --- IntelliJ / IDE project files ---
48+ * .iml text
49+ * .ipr text
50+ * .iws text
51+
52+ # --- Optional: Custom diff drivers (if configured in .git/config) ---
53+ # For better Java diffs (requires git config setup)
54+ # diff=java defined in .git/config
You can’t perform that action at this time.
0 commit comments