-
Notifications
You must be signed in to change notification settings - Fork 296
/
.gitattributes
executable file
·74 lines (73 loc) · 1.88 KB
/
.gitattributes
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
62
63
64
65
66
67
68
69
70
71
72
73
74
###############################
# Git Line Endings #
# Set default behaviour to automatically normalize line endings.
* text=auto eol=lf
# Force batch scripts to always use CRLF line endings so that if a repo is accessed
# in Windows via a file share from Linux, the scripts will work.
*.{cmd,[cC][mM][dD]} text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf
# Force bash scripts to always use LF line endings so that if a repo is accessed
# in Unix via a file share from Windows, the scripts will work.
*.sh text eol=lf
*.bash text eol=lf
## Binary files should be left untouched
#
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.tif binary
*.tiff binary
*.mov binary
*.mp4 binary
*.gz binary
*.zip binary
*.7z binary
*.xz binary
*.ttf binary
*.pdf binary
# git config
.gitattributes text
.gitignore text
# Java sources
*.java text diff=java
*.kt text diff=kotlin
*.groovy text diff=java
*.scala text diff=java
*.gradle text diff=java
*.gradle.kts text diff=kotlin
# These files are text
*.css text diff=css
*.scss text diff=css
*.sass text
*.df text
*.htm text diff=html
*.html text diff=html
*.js text
*.json text
*.properties text
*.svg text
*.tld text
*.tag text
*.tagx text
*.csv text eol=crlf
*.txt text
*.xml text
*.yaml text
*.yml text
*.md text diff=markdown
*.mdx text diff=markdown
# These files are binary and should be left untouched
# (binary is a macro for -text -diff)
*.class binary
*.dll binary
*.dylib binary
*.ear binary
*.jar binary
*.so binary
*.war binary
*.jks binary
# Common build-tool wrapper scripts
mvnw text eol=lf
gradlew text eol=lf