Browse Source

chore: 更新.gitattributes文件配置 (#8178)

git 不支持 Shell 的花括号展开语法
pull/8243/head
yshbyy 2 months ago
committed by GitHub
parent
commit
f038166681
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 16
      .gitattributes

16
.gitattributes

@ -4,8 +4,18 @@
* text=auto eol=lf * text=auto eol=lf
# Declare files that will always have CRLF line endings on checkout. # Declare files that will always have CRLF line endings on checkout.
*.{cmd,[cC][mM][dD]} text eol=crlf *.cmd text eol=crlf
*.{bat,[bB][aA][tT]} text eol=crlf *.[cC][mM][dD] text eol=crlf
*.bat text eol=crlf
*.[bB][aA][tT] text eol=crlf
# Denote all files that are truly binary and should not be modified. # Denote all files that are truly binary and should not be modified.
*.{ico,png,jpg,jpeg,gif,webp,svg,woff,woff2} binary *.ico binary
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.webp binary
*.svg binary
*.woff binary
*.woff2 binary
Loading…
Cancel
Save