Skip to content

Commit 00a5524

Browse files
added .gitattributes
1 parent e257f2a commit 00a5524

File tree

1 file changed

+47
-0
lines changed

1 file changed

+47
-0
lines changed

.gitattributes

Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Set the default behavior, in case people don't have core.autocrlf set.
2+
* text=crlf
3+
4+
# Force bash scripts to always use lf line endings so that if a repo is accessed
5+
# in Unix via a file share from Windows, the scripts will work.
6+
*.sh text eol=lf
7+
8+
# Declare files that will always have CRLF line endings on checkout.
9+
*.m text eol=crlf
10+
#*.mlx text eol=crlf
11+
*.txt text eol=crlf
12+
*.html text=eol=crlf
13+
14+
# Declare special files
15+
*.js text=auto
16+
*.xlm text=auto
17+
*.css text=auto
18+
19+
# Denote all files that are truly binary and should not be modified.
20+
*.png binary
21+
*.jpg binary
22+
*.svg binary
23+
*.zip binary
24+
*.rar binary
25+
*.jpeg binary
26+
*.gif binary
27+
*.tif binary
28+
*.tiff binary
29+
*.ico binary
30+
*.ps binary
31+
*.eps binary
32+
*.p binary
33+
*.mex* binary
34+
*.fig binary
35+
*.mat binary
36+
*.mdl binary
37+
*.slx binary
38+
*.mdlp binary
39+
*.slxp binary
40+
*.sldd binary
41+
*.mltbx binary
42+
*.mlappinstall binary
43+
*.mlpkginstall binary
44+
*.mn binary
45+
# Reclassify HTML files as MATLAB files
46+
*.html -linguist-detectable
47+
*.xml -linguist-detectable

0 commit comments

Comments
 (0)