-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
75 lines (65 loc) · 2.4 KB
/
Copy path.gitattributes
File metadata and controls
75 lines (65 loc) · 2.4 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
68
69
70
71
72
73
74
75
# =============================================================================
# Git Attributes
# -----------------------------------------------------------------------------
# Purpose:
# Repository-wide Git attributes for generated files, merge behavior,
# language statistics, and text normalization.
# =============================================================================
# -----------------------------------------------------------------------------
# Default text handling
# -----------------------------------------------------------------------------
* text=auto eol=lf
# -----------------------------------------------------------------------------
# Generated workflow lock files
# -----------------------------------------------------------------------------
# These files are generated artifacts. They should not affect GitHub language
# statistics and should prefer the current branch during merges.
#
# NOTE:
# merge=ours requires the local/repo Git merge driver to exist:
#
# git config merge.ours.name "Keep ours merge driver"
# git config merge.ours.driver true
#
# For repo-local config, add this to .git/config or configure it during bootstrap.
# -----------------------------------------------------------------------------
.github/workflows/*.lock.yml linguist-generated=true merge=ours
# -----------------------------------------------------------------------------
# Common generated files
# -----------------------------------------------------------------------------
*.lock linguist-generated=true
package-lock.json linguist-generated=true
pnpm-lock.yaml linguist-generated=true
yarn.lock linguist-generated=true
Cargo.lock linguist-generated=true
go.sum linguist-generated=true
# -----------------------------------------------------------------------------
# Documentation / diagrams
# -----------------------------------------------------------------------------
*.svg text eol=lf
*.md text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.json text eol=lf
*.tf text eol=lf
*.tfvars text eol=lf
*.sh text eol=lf
# -----------------------------------------------------------------------------
# Binary files
# -----------------------------------------------------------------------------
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.ico binary
*.pdf binary
*.zip binary
*.gz binary
*.tar binary
*.tgz binary
*.7z binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary