56 lines
833 B
Plaintext
56 lines
833 B
Plaintext
# 统一行尾符处理
|
|
* text=auto
|
|
|
|
# Java 源码文件使用 LF
|
|
*.java text eol=lf
|
|
*.kt text eol=lf
|
|
*.kts text eol=lf
|
|
*.groovy text eol=lf
|
|
|
|
# XML 配置文件使用 LF
|
|
*.xml text eol=lf
|
|
*.xsd text eol=lf
|
|
|
|
# 属性文件使用 LF
|
|
*.properties text eol=lf
|
|
*.yml text eol=lf
|
|
*.yaml text eol=lf
|
|
|
|
# SQL 文件使用 LF
|
|
*.sql text eol=lf
|
|
|
|
# 脚本文件使用 LF
|
|
*.sh text eol=lf
|
|
*.py text eol=lf
|
|
|
|
# Web 文件使用 LF
|
|
*.js text eol=lf
|
|
*.html text eol=lf
|
|
*.css text eol=lf
|
|
*.json text eol=lf
|
|
|
|
# Markdown 文件使用 LF
|
|
*.md text eol=lf
|
|
|
|
# Windows 批处理文件使用 CRLF
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
|
|
# 二进制文件
|
|
*.jar binary
|
|
*.war binary
|
|
*.ear binary
|
|
*.zip binary
|
|
*.tar.gz binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.pdf binary
|
|
*.xls binary
|
|
*.xlsx binary
|
|
*.doc binary
|
|
*.docx binary
|
|
|