Skip to content

Commit ad952d7

Browse files
committed
Template cannot be LFS, so add it after
1 parent e0b6572 commit ad952d7

File tree

1 file changed

+141
-0
lines changed

1 file changed

+141
-0
lines changed

.gitattributes

+141
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,141 @@
1+
#
2+
# Git attributes for Unity projects
3+
#
4+
# Compiled by the GameCI community under the MIT license - https://game.ci
5+
#
6+
# Latest version at https://gist.github.com/webbertakken/ff250a0d5e59a8aae961c2e509c07fbc
7+
#
8+
9+
# Ensure that text files that any contributor introduces to the repository have their line endings normalized
10+
* text=auto
11+
12+
# Increase probability of success for merging files with specific extensions
13+
*.cs diff=csharp
14+
15+
# Macro attribute: Files with Unity's yaml format
16+
# linguist-generated means the file is ignored for the repository's language statistics and diffs are hidden by default.
17+
[attr]unity-yaml-file -text merge=unityyamlmerge linguist-generated
18+
19+
# Macro attribute: Files intended for LFS
20+
[attr]lfs-file filter=lfs diff=lfs merge=lfs -text
21+
22+
# Unity files
23+
*.asmdef unity-yaml-file -linguist-generated
24+
*.anim unity-yaml-file
25+
*.asset unity-yaml-file
26+
*.brush unity-yaml-file
27+
*.controller unity-yaml-file
28+
*.flare unity-yaml-file
29+
*.fontsettings unity-yaml-file
30+
*.giparams unity-yaml-file
31+
*.guiskin unity-yaml-file
32+
*.mask unity-yaml-file
33+
*.mat unity-yaml-file
34+
*.meta unity-yaml-file
35+
*.mixer unity-yaml-file
36+
*.overrideController unity-yaml-file
37+
*.physicMaterial unity-yaml-file
38+
*.physicsMaterial2D unity-yaml-file
39+
*.playable unity-yaml-file
40+
*.prefab unity-yaml-file
41+
*.preset unity-yaml-file
42+
*.renderTexture unity-yaml-file
43+
*.shadervariants unity-yaml-file
44+
*.spriteatlas unity-yaml-file
45+
*.terrainlayer unity-yaml-file
46+
*.unity unity-yaml-file
47+
48+
# Unity binary files
49+
*.bundle lfs-file
50+
*.cubemap lfs-file
51+
*.unitypackage lfs-file
52+
53+
# Unity specific assets
54+
*-[Nn]av[Mm]esh.asset lfs-file
55+
*-[Tt]errain.asset lfs-file
56+
*OcclusionCullingData.asset
57+
58+
# Creative software
59+
*.rns lfs-file
60+
*.reason lfs-file
61+
*.lxo lfs-file
62+
*.exr lfs-file
63+
*.fla lfs-file
64+
65+
# Documents
66+
*.pdf lfs-file
67+
68+
# Image formats
69+
*.afdesign lfs-file
70+
*.afphoto lfs-file
71+
*.ai lfs-file
72+
*.bmp lfs-file
73+
*.dds lfs-file
74+
*.jpg lfs-file
75+
*.gif lfs-file
76+
*.iff lfs-file
77+
*.pict lfs-file
78+
*.png lfs-file
79+
*.psd lfs-file
80+
*.svg lfs-file
81+
*.tga lfs-file
82+
*.tiff lfs-file
83+
*.webp lfs-file
84+
85+
# Audio formats
86+
*.aif lfs-file
87+
*.aiff lfs-file
88+
*.it lfs-file
89+
*.mod lfs-file
90+
*.mp3 lfs-file
91+
*.ogg lfs-file
92+
*.s3m lfs-file
93+
*.wav lfs-file
94+
*.xm lfs-file
95+
*.note lfs-file
96+
97+
# Video formats
98+
*.mov lfs-file
99+
*.avi lfs-file
100+
*.asf lfs-file
101+
*.mpg lfs-file
102+
*.mpeg lfs-file
103+
*.mp4 lfs-file
104+
105+
# 3D formats
106+
*.3ds lfs-file
107+
*.3dm lfs-file
108+
*.abc lfs-file
109+
*.blend lfs-file
110+
*.c4d lfs-file
111+
*.dae lfs-file
112+
*.dfx lfs-file
113+
*.FBX lfs-file
114+
*.fbx lfs-file
115+
*.glb lfs-file
116+
*.gltf lfs-file
117+
*.lwo lfs-file
118+
*.lwo2 lfs-file
119+
*.lxo lfs-file
120+
*.obj lfs-file
121+
*.ma lfs-file
122+
*.max lfs-file
123+
*.mb lfs-file
124+
125+
# Font formats
126+
*.ttf lfs-file
127+
*.otf lfs-file
128+
129+
# Bundles and binaries
130+
*.dll lfs-file
131+
*.exe lfs-file
132+
*.mdb lfs-file
133+
*.pdb lfs-file
134+
*.so lfs-file
135+
136+
# Packaging
137+
*.zip lfs-file
138+
*.7z lfs-file
139+
*.gz lfs-file
140+
*.rar lfs-file
141+
*.tar lfs-file

0 commit comments

Comments
 (0)