-
Notifications
You must be signed in to change notification settings - Fork 533
/
.gitattributes
40 lines (33 loc) · 1.12 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
## This .gitattributes file automatically formats the EOL character in certain filetypes within the repository
## Source code
# JavaScript, TypeScript, c, and h source files
*.js text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.h text eol=lf diff=cpp
*.c text eol=lf diff=cpp
# Shell scripts
*.sh text eol=lf
*.bash text eol=lf
# Windows batch and PowerShell scripts
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
##### Other file types #####
## Text files and documentation
*.txt text
README* text
RELEASING* text
CHANGELOG* text
CONTRIBUTING* text
INSTALL* text
LICENSE* text
## Non-text documentation
*.html text diff=html
*.pdf binary
*.json text
*.rtf binary
## Git Properties
.gitignore text
.gitmodules text
.gitattributes text