-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitattributes
33 lines (30 loc) · 1011 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
25
26
27
28
29
30
31
32
33
# Set default behaviour, in case users don't have core.autocrlf set.
* text=auto
# Explicitly declare text files we want to always be normalized and converted to native line endings on checkout.
# These files are text and should be normalized (Convert crlf => lf)
*.py text
*.sh text
*.md text
*.info text
*.txt text
*.json text
*.yml text
# Denote all files that are truly binary and should not be modified.
# (binary is a macro for -text -diff)
*.pyc binary
*.gif binary
*.ico binary
*.jar binary
*.jpg binary
*.jpeg binary
*.png binary
*.tar binary
*.tar.gz binary
*.tz binary
# 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 eol=crlf
*.cmd eol=crlf
*.ps1 eol=crlf