-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
62 lines (58 loc) · 1.36 KB
/
.gitattributes
File metadata and controls
62 lines (58 loc) · 1.36 KB
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
60
61
62
# Set default behavior to automatically normalize line endings to LF
* text=auto eol=lf
# Explicitly declare text files you want to always be normalized and converted
# to native line endings on checkout.
*.cs text eol=lf
*.xaml text eol=lf
*.xml text eol=lf
*.json text eol=lf
*.md text eol=lf
*.txt text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.sln text eol=lf
*.csproj text eol=lf
*.props text eol=lf
*.targets text eol=lf
*.config text eol=lf
*.resx text eol=lf
*.settings text eol=lf
*.manifest text eol=lf
*.rc text eol=lf
*.def text eol=lf
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.sh text eol=lf
*.gitignore text eol=lf
*.gitattributes text eol=lf
# Denote all files that are truly binary and should not be modified.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.exe binary
*.dll binary
*.so binary
*.dylib binary
*.lib binary
*.a binary
*.pdb binary
*.pfx binary
*.snk binary
*.zip binary
*.gz binary
*.tar binary
*.tgz binary
*.bz2 binary
*.7z binary
*.nupkg binary
# Preserve specific line endings where required
Makefile text eol=lf
makefile text eol=lf
*.mk text eol=lf
# Note: We intentionally use LF as the default (line 2) because the team develops
# primarily on macOS and automation tooling is less error-prone with LF-normalized
# text files. Windows-native shell scripts remain CRLF where that convention helps.