forked from lobehub/lobehub
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitattributes
More file actions
54 lines (50 loc) · 1.19 KB
/
.gitattributes
File metadata and controls
54 lines (50 loc) · 1.19 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
# 统一使用 LF 行尾符(与 Mac/Linux 一致)
* text=auto eol=lf
# 确保这些文件类型始终使用 LF
*.ts text eol=lf
*.tsx text eol=lf
*.js text eol=lf
*.jsx text eol=lf
*.json text eol=lf
*.md text eol=lf
*.mdx text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.toml text eol=lf
*.css text eol=lf
*.scss text eol=lf
*.html text eol=lf
*.sh text eol=lf
# 二进制文件
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.webp binary
*.svg binary
*.woff binary
*.woff2 binary
*.ttf binary
*.eot binary
*.mp4 binary
*.mp3 binary
*.zip binary
*.gz binary
# Merge strategies - Keep our customizations
.github/workflows/lighthouse.yml merge=ours
.github/workflows/pr-build-docker.yml merge=ours
.github/workflows/release-docker.yml merge=ours
.github/workflows/sync.yml merge=ours
packages/business/const/src/branding.ts merge=ours
public/icons/* merge=ours
public/apple-touch-icon.png merge=ours
public/favicon.ico merge=ours
public/favicon-32x32.png merge=ours
src/server/manifest.test.ts merge=ours
src/server/metadata.test.ts merge=ours
.releaserc.cjs merge=ours
.gitattributes merge=ours
# Always accept upstream changes
CHANGELOG.md merge=theirs
changelog/v2.json merge=theirs