-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
38 lines (34 loc) · 1.04 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
# .gitattributes for MatLAB/Octave/Simulink
# Check https://in.mathworks.com/help/matlab/matlab_prog/set-up-git-source-control.html
# Auto Detect text-Files and perform LF Normalizations
* text=auto
# Source files
*.p -crlf -diff -merge
*.fig -crlf -diff -merge
*.mlx -crlf -diff -merge
*.mat -crlf -diff -merge
*.mdl -crlf -diff -merge
*.slx -crlf -diff -merge
*.sfx -crlf -diff -merge
*.mdlp -crlf -diff -merge
*.slxp -crlf -diff -merge
*.sldd -crlf -diff -merge
*.slxc -crlf -diff -merge
*.sltx -crlf -diff -merge
*.mlapp -crlf -diff -merge
*.mlproj -crlf -diff -merge
*.mldatx -crlf -diff -merge
*.slreqx -crlf -diff -merge
# Text File-Types
*.md text
*.csv text
*.info text
# git should not attempt automatic line feed, diff, and merge attempts for these types of files.
*.pdf -crlf -diff -merge
*.jpg -crlf -diff -merge
*.png -crlf -diff -merge
*.xlsx -crlf -diff -merge
*.docx -crlf -diff -merge
*.mexa64 -crlf -diff -merge
*.mexw64 -crlf -diff -merge
*.mexmaci64 -crlf -diff -merge