87 lines
1.3 KiB
Plaintext
87 lines
1.3 KiB
Plaintext
# 自动检测文本文件并统一换行符
|
|
* text=auto eol=crlf
|
|
|
|
# 源代码文件 - 强制 CRLF
|
|
*.cpp text eol=crlf
|
|
*.h text eol=crlf
|
|
*.hpp text eol=crlf
|
|
*.c text eol=crlf
|
|
*.ui text eol=crlf
|
|
*.qrc text eol=crlf
|
|
*.pro text eol=crlf
|
|
*.pri text eol=crlf
|
|
*.qss text eol=crlf
|
|
|
|
# 配置文件
|
|
*.json text eol=crlf
|
|
*.ini text eol=crlf
|
|
*.xml text eol=crlf
|
|
*.yaml text eol=crlf
|
|
*.yml text eol=crlf
|
|
*.cfg text eol=crlf
|
|
*.conf text eol=crlf
|
|
*.txt text eol=crlf
|
|
|
|
# 脚本文件
|
|
*.sh text eol=lf
|
|
*.bash text eol=lf
|
|
*.bat text eol=crlf
|
|
*.cmd text eol=crlf
|
|
*.ps1 text eol=crlf
|
|
|
|
# Git 文件
|
|
.gitignore text eol=crlf
|
|
.gitmodules text eol=crlf
|
|
.gitattributes text eol=crlf
|
|
|
|
# 二进制库文件 - 不做换行符转换
|
|
*.so binary
|
|
*.so.* binary
|
|
*.a binary
|
|
*.lib binary
|
|
*.dll binary
|
|
*.dylib binary
|
|
*.o binary
|
|
*.obj binary
|
|
|
|
# 可执行文件
|
|
*.exe binary
|
|
*.app binary
|
|
*.out binary
|
|
|
|
# SDK 目录下全部二进制处理
|
|
SDK/**/*.so binary
|
|
SDK/**/*.so.* binary
|
|
SDK/**/*.lib binary
|
|
SDK/**/*.dll binary
|
|
SDK/**/*.a binary
|
|
|
|
# 图片和资源文件
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.bmp binary
|
|
*.ico binary
|
|
*.gif binary
|
|
*.svg text eol=crlf
|
|
*.qm binary
|
|
|
|
# 文档
|
|
*.pdf binary
|
|
*.doc binary
|
|
*.docx binary
|
|
*.xls binary
|
|
*.xlsx binary
|
|
|
|
# 压缩包
|
|
*.zip binary
|
|
*.tar binary
|
|
*.gz binary
|
|
*.7z binary
|
|
*.rar binary
|
|
|
|
# 点云和数据文件
|
|
*.ply binary
|
|
*.pcd binary
|
|
*.dat binary
|