Skip to content

Commit e52d591

Browse files
committed
chore: 添加 .gitattributes
1 parent e66d6a5 commit e52d591

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

.gitattributes

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# 忽略生成的文件和依赖
2+
dist/* linguist-generated=true
3+
node_modules/* linguist-vendored=true
4+
pnpm-lock.yaml linguist-generated=true
5+
6+
# 忽略模板文件
7+
templates/* linguist-generated=true
8+
9+
# 忽略测试文件的统计
10+
test/* linguist-detectable=false
11+
playground/* linguist-detectable=false

0 commit comments

Comments
 (0)