u
This commit is contained in:
1 parent
ae3ca3cfa1
commit
7bd5f1dde9
45 files changed
+3414
-229
No files matched your search
@@ -0,0 +1,54 @@
|
||||
# 统一行尾:索引内一律 LF,检出时按下面的规则落地。
|
||||
# CRLF 只留给 Windows 批处理 —— cmd.exe 处理 LF 结尾的 .cmd/.bat 不稳(标签/goto 会出错)。
|
||||
#
|
||||
# 工作区里已经存在的文件不会被自动改写;要让索引与工作区彻底一致,执行一次:
|
||||
# git add --renormalize .
|
||||
# git checkout -- .
|
||||
# 之后新加的文件会自动按本文件规范化,不再需要人工干预。
|
||||
|
||||
* text=auto
|
||||
|
||||
# 源码与文本:一律 LF
|
||||
*.java text eol=lf
|
||||
*.kt text eol=lf
|
||||
*.ts text eol=lf
|
||||
*.tsx text eol=lf
|
||||
*.js text eol=lf
|
||||
*.mjs text eol=lf
|
||||
*.cjs text eol=lf
|
||||
*.vue text eol=lf
|
||||
*.scss text eol=lf
|
||||
*.css text eol=lf
|
||||
*.html text eol=lf
|
||||
*.json text eol=lf
|
||||
*.yaml text eol=lf
|
||||
*.yml text eol=lf
|
||||
*.xml text eol=lf
|
||||
*.md text eol=lf
|
||||
*.properties text eol=lf
|
||||
*.sql text eol=lf
|
||||
.gitignore text eol=lf
|
||||
.gitattributes text eol=lf
|
||||
|
||||
# 脚本:Unix 侧必须 LF(mvnw 是 shell 脚本,CRLF 会让它跑不起来)
|
||||
*.sh text eol=lf
|
||||
mvnw text eol=lf
|
||||
|
||||
# Windows 批处理:必须 CRLF
|
||||
*.cmd text eol=crlf
|
||||
*.bat text eol=crlf
|
||||
|
||||
# 二进制:不做行尾转换、不参与 diff
|
||||
*.xdb binary
|
||||
*.jar binary
|
||||
*.png binary
|
||||
*.jpg binary
|
||||
*.jpeg binary
|
||||
*.gif binary
|
||||
*.ico binary
|
||||
*.woff binary
|
||||
*.woff2 binary
|
||||
*.ttf binary
|
||||
|
||||
# 锁文件:内容由 pnpm 生成,不展示 diff
|
||||
pnpm-lock.yaml -diff
|
||||
Reference in new issue
Block a user