-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy path.gitattributes
24 lines (18 loc) · 935 Bytes
/
.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
# Normalize text files on commit to LF endings by default
* text=auto
# Enforce LF line endings for markdown files
*.md text eol=lf
# Make sure Windows batch files preserve CR/LF line endings, otherwise they may not be able to execute. Windows
# batch files require a CR/LF for labels to work properly, otherwise they may fail when labels straddle 512-byte
# block boundaries. This is important when files are downloaded through a zip archive that was authored on a
# Linux machine (the default behavior on GitHub)
*.bat text eol=crlf
*.cmd text eol=crlf
# Make sure shell scripts have LF line endings, even when checked out on a Windows client with autocrlf=true
*.sh text eol=lf
docs/tools/packman/packman text eol=lf
# All files under **/images go into Git LFS
**/images/** filter=lfs diff=lfs merge=lfs -text
# All videos go into Git LFS
*.mp4 filter=lfs diff=lfs merge=lfs -text
data/** filter=lfs diff=lfs merge=lfs -text