-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.gitattributes
151 lines (137 loc) · 2.74 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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
### Referred as a base: https://hextantstudios.com/unity-gitattributes/
### Run `make apply_unityyamlmerge` if use unityyamlmerge on macOS
# Macro for Unity YAML-based asset files.
[attr]unityyaml -text merge=unityyamlmerge diff
# Macro for all binary files that should use Git LFS.
[attr]lfs -text filter=lfs diff=lfs merge=lfs
# Default to auto-normalized line endings.
* text=auto encoding=UTF-8 eol=lf
# Code
*.cs text diff=csharp
*.cginc text
*.shader text
*.sh text
*.md text
# Unity Text Assets
*.meta unityyaml
*.unity unityyaml
*.asset unityyaml
*.prefab unityyaml
*.mat unityyaml
*.anim unityyaml
*.controller unityyaml
*.overrideController unityyaml
*.physicMaterial unityyaml
*.physicsMaterial2D unityyaml
*.playable unityyaml
*.mask unityyaml
*.brush unityyaml
*.flare unityyaml
*.fontsettings unityyaml
*.guiskin unityyaml
*.giparams unityyaml
*.renderTexture unityyaml
*.spriteatlas unityyaml
*.terrainlayer unityyaml
*.mixer unityyaml
*.shadervariants unityyaml
*.preset unityyaml
*.asmdef -text diff
# Generated files
src/Compilers/CSharp/Portable/Generated/* linguist-generated=true
src/Compilers/CSharp/Portable/CSharpResources.Designer.cs linguist-generated=true
src/Compilers/VisualBasic/Portable/Generated/* linguist-generated=true
src/Compilers/VisualBasic/Portable/VBResources.Designer.vb linguist-generated=true
*.xlf llinguist-generated=true
*.meta llinguist-generated=true
/[Aa]ssets/[Ss]erialized[Uu]don[Pp]rograms/* llinguist-generated=true
# Unity Binary Assets (When using lfs, replace "-text" to "lfs")
*.cubemap -text
*.unitypackage -text
# Note: Unity terrain assets must have "-Terrain" suffix.
*-[Tt]errain.asset -unityyaml -text
# Note: Unity navmesh assets must have "-NavMesh" suffix.
*-[Nn]av[Mm]esh.asset -unityyaml -text
# Image
*.jpg -text
*.jpeg -text
*.png -text
*.apng -text
*.atsc -text
*.gif -text
*.bmp -text
*.exr -text
*.tga -text
*.tiff -text
*.tif -text
*.iff -text
*.pict -text
*.dds -text
*.xcf -text
*.leo -text
*.kra -text
*.kpp -text
*.clip -text
*.webm -text
*.webp -text
*.svg -text
*.svgz -text
*.psd -text
*.ai -text
*.afphoto -text
*.afdesign -text
*.pdf -text
*.ttf -text
# Audio
*.mp3 -text
*.ogg -text
*.wav -text
*.aiff -text
*.aif -text
*.mod -text
*.it -text
*.s3m -text
*.xm -text
# Video
*.mov -text
*.avi -text
*.asf -text
*.mpg -text
*.mpeg -text
*.mp4 -text
*.flv -text
*.ogv -text
*.wmv -text
# 3D
*.fbx -text
*.obj -text
*.max -text
*.blend -text
*.blender -text
*.dae -text
*.mb -text
*.ma -text
*.3ds -text
*.dfx -text
*.c4d -text
*.lwo -text
*.lwo2 -text
*.abc -text
*.3dm -text
*.bin -text
*.glb -text
*.spp -text
*.sbs -text
# Executables
*.exe -text
*.dll -text
*.so -text
*.pdb -text
*.mdb -text
*.a -text
# Packaging
*.zip -text
*.7z -text
*.gz -text
*.rar -text
*.tar -text