Files
HKFishingCompanion/.gitattributes
T
2026-07-21 01:34:59 +08:00

67 lines
1.5 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
### JavaKotlinSpringVert.x 项目常用 .gitattributes 模板 ###
### GitHub地址: https://github.com/yanwenkun/git-ignore-and-attributes-for-java ###
### 整理者: code@yanwk.fun ###
### 版本: 20200225-1 ###
# 参考手册: https://git-scm.com/docs/gitattributes
# 该行表示 Git 将自动判断文件是【纯文本】还是【二进制】
# 并将所有【纯文本】统一为 LF 换行符(以下显式指定的扩展名除外)
# 如果用于 Java 以外的项目,请视情况修改为默认方式:
# * text=auto
* text=auto eol=lf
# 举例说明:
# text 表示将所有 .adoc 扩展名的文件视为纯文本文件
# eol=lf 表示强制以 LF(即
作为换行符
*.adoc text eol=lf
# 指定 CRLF 换行符
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.bat text eol=crlf
# 指定 LF 换行符
*.conf text eol=lf
*.css text eol=lf
*.gradle text eol=lf
*.htm text eol=lf
*.html text eol=lf
*.java text eol=lf
*.js text eol=lf
*.json text eol=lf
*.jsp text eol=lf
*.kt text eol=lf
*.kts text eol=lf
*.map text eol=lf
*.md text eol=lf
*.properties text eol=lf
*.sh text eol=lf
*.ts text eol=lf
*.xml text eol=lf
# 二级制文件不考虑行尾,不考虑 diff
*.doc binary
*.docx binary
*.eot binary
*.gif binary
*.jpg binary
*.png binary
*.svg binary
*.ttf binary
*.woff binary
*.woff2 binary
*.xls binary
*.xlsx binary
*.class binary
*.dll binary
*.ear binary
*.gz binary
*.jar binary
*.so binary
*.tar binary
*.war binary
*.xz binary
*.zip binary