-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy path.gitattributes
More file actions
48 lines (42 loc) · 1.34 KB
/
Copy path.gitattributes
File metadata and controls
48 lines (42 loc) · 1.34 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
# Normalize line endings on commit; check out using each platform's native EOL
# rules. Without this, Windows contributors can accidentally commit CRLF into
# files that should be LF (breaking shebangs, hash signatures, diffs, etc.).
* text=auto eol=lf
# Windows-only script formats must stay CRLF on disk.
*.ps1 text eol=crlf
*.psm1 text eol=crlf
*.psd1 text eol=crlf
*.cmd text eol=crlf
*.bat text eol=crlf
*.sln text eol=crlf
# Shell scripts must be LF even when checked out on Windows.
*.sh text eol=lf
# Treat lockfiles as text but never auto-fix them via merge tooling.
package-lock.json text eol=lf
yarn.lock text eol=lf
pnpm-lock.yaml text eol=lf
requirements.txt text eol=lf
# Mark binary blobs explicitly so Git won't try to diff or normalize them.
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.icns binary
*.webp binary
*.zip binary
*.gz binary
*.7z binary
*.exe binary
*.dll binary
*.pdb binary
*.pdf binary
*.ttf binary
*.woff binary
*.woff2 binary
# Hide noisy paths from default GitHub diffs / language stats.
desktop/release/** linguist-generated=true
desktop/dist/** linguist-generated=true
desktop/renderer/dist/** linguist-generated=true
dist/** linguist-generated=true
build/** linguist-generated=true