-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.gitattributes
More file actions
67 lines (57 loc) · 1.51 KB
/
.gitattributes
File metadata and controls
67 lines (57 loc) · 1.51 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
63
64
65
66
67
# This file defines path-specific settings for Git, such as line ending
# normalization, binary file handling, and GitHub-specific display options.
#
# https://git-scm.com/docs/gitattributes
# Handle line endings automatically for files detected as text
# and ensure that all checked-in text files have the LF newline character.
* text=auto
# Common source files
*.js text
*.jsx text
*.ts text
*.tsx text
*.json text
*.html text
*.css text
*.scss text
*.md text
*.yml text
*.yaml text
*.xml text
# Force LF for shell scripts and configuration files (Unix-style)
*.sh text eol=lf
*.bash text eol=lf
.htaccess text eol=lf
Makefile text eol=lf
# Force CRLF for Windows batch files
*.bat text eol=crlf
*.cmd text eol=crlf
# Denote all files that are truly binary and should not be modified by Git.
# Images
*.jpg binary
*.png binary
*.gif binary
*.ico binary
*.webp binary
# Fonts
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
# Documents
*.pdf binary
# Archives
*.zip binary
*.tar binary
*.gz binary
# These settings affect how GitHub calculates language statistics and searches.
dist/* linguist-vendored
build/* linguist-vendored
docs/* linguist-documentation
vendor/* linguist-vendored
test/* linguist-vendored
# Treat lock files as binary during merge to prevent conflicts.
# These should be managed by their respective package managers.
package-lock.json merge=binary
yarn.lock merge=binary
pnpm-lock.yaml merge=binary