-
Notifications
You must be signed in to change notification settings - Fork 17
/
.gitattributes
59 lines (51 loc) · 1.62 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
### https://git-scm.com/docs/gitattributes
# When `text` is set to "auto", the path is marked for automatic end-of-line conversion.
# If Git decides that the content is text, its line endings are converted to LF on checkin.
# When the file has been committed with CRLF, no conversion is done.
# https://git-scm.com/docs/gitattributes#Documentation/gitattributes.txt-Settostringvalueauto
* text=auto eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
# These files are text and should be normalized (Convert crlf => lf)
# Setting the `text` attribute on a path enables end-of-line normalization and marks the path as a text file.
# End-of-line conversion takes place without guessing the content type.
# https://git-scm.com/docs/gitattributes#_text
*.css text
*.html text
*.js text
*.md text
*.py text
*.sh text
# These files are binary and should be left untouched
# `binary` is a built-in macro for `-text` `-diff` (ie unset `text` and `diff`)
# https://git-scm.com/docs/gitattributes#_using_macro_attributes
*.7z binary
*.bin binary
*.cu.o binary
*.db binary
*.doc binary
*.docx binary
*.gz binary
*.jar binary
*.jpeg binary
*.jpg binary
*.npy binary
*.npz binary
*.pcd binary
*.pdf binary
*.pkl binary
*.png binary
*.ppt binary
*.pptx binary
*.pth binary
*.so binary
*.xls binary
*.xlsx binary
*.zip binary
# These files should not be processed by Linguist for language detection on github.com
*.p linguist-detectable=false
*.gz linguist-detectable=false
# Track with Git LFS
*.parquet filter=lfs diff=lfs merge=lfs -text