-
Notifications
You must be signed in to change notification settings - Fork 97
/
.gitattributes
37 lines (33 loc) · 944 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
34
35
36
37
# Set the default behavior, in case people don't have core.autocrlf set.
# The sequence of these two definitions ensures that the default is text=auto,
# except for files without an extension (ie. shells scripts) where it is eol=lf.
* text eol=lf
*.* text=auto
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cpp text
*.c text
*.h text
*.r text
*.rc text
# Declare files that will always have LF line endings on checkout.
*.sh text eol=lf
*.bash text eol=lf
*.tcl text eol=lf
# Declare files that will always have CRLF line endings on checkout.
*.bat text eol=crlf
*.BAT text eol=crlf
*.cmd text eol=crlf
*.CMD text eol=crlf
*.ps1 text eol=crlf
*.PS1 text eol=crlf
*.sln text eol=crlf
*.vbs text eol=crlf
*.VBS text eol=crlf
# Declare files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.exe binary
*.com binary
*.bin binary
*.sys binary