-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
61 lines (49 loc) · 1.2 KB
/
.gitattributes
File metadata and controls
61 lines (49 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# --- Text and line endings ---
# Force all text files to use LF line endings
* text=auto eol=lf
# --- Java source files ---
*.java text diff=java
# --- Kotlin source files ---
*.kt text diff=kotlin
# --- Groovy source files ---
*.groovy text
*.gsh text
# --- Gradle files ---
*.gradle text diff=groovy
*.gradle.kts text diff=kotlin
gradlew text eol=lf
gradlew.bat text eol=crlf
# --- Configuration / properties ---
*.xml text
*.yml text
*.yaml text
*.properties text
# --- Scripts ---
*.sh text eol=lf
*.bat text eol=crlf
# --- Markdown / documentation ---
*.md text
*.adoc text
# --- Ignore generated binaries and archives ---
*.jar binary
*.war binary
*.ear binary
*.class binary
# --- Images / media ---
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.svg text
# --- Misc ---
*.pdf binary
*.zip binary
*.tar.gz binary
# --- IntelliJ / IDE project files ---
*.iml text
*.ipr text
*.iws text
# --- Optional: Custom diff drivers (if configured in .git/config) ---
# For better Java diffs (requires git config setup)
# diff=java defined in .git/config