-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy path.gitattributes
17 lines (15 loc) · 892 Bytes
/
.gitattributes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
$ cat .gitattributes
#Setting any .m file to MATLAB by default
*.m linguist-language=Matlab
#Setting folders containing the fault files to be ignored (.ts & .shp extension).
3dCode/FaultData/* linguist-vendored
2dCode/FaultData/* linguist-vendored
Images/* linguist-vendored
##https://github.com/github/linguist/issues/2206
#To summarise, as of today, 25 Oct 2017:
#vendored files are not suppressed in diffs
#generated files are suppressed in diffs
#any file/directory can be marked as generated using an over-ride: *.whatever linguist-generated
#any file/directory can be excluded from being detected as generated using an over-ride: *.whatever linguist-generated=false
#any file/directory can be marked as vendored using an over-ride: *.whatever linguist-vendored
#any file/directory can be excluded from being detected as vendored using an over-ride: *.whatever linguist-vendored=false