commit c0067e8774db9b618a53abb3861b398f1e87b01d Author: LuChiChick <1084116302@qq.com> Date: Mon Aug 3 19:26:34 2026 +0800 commit for .gitattributes rules. diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..bf5783f --- /dev/null +++ b/.gitattributes @@ -0,0 +1,27 @@ +# 源码相关文件配置 +*.c text eol=LF +*.cpp text eol=LF +*.h text eol=LF +*.hpp text eol=LF +*.s text eol=LF +*.ld text eol=LF + +# JSON 文件配置 +*.json text eol=LF + +# Markdown 文件配置 +*.md text eol=LF + +# 仓库配置相关文件配置 +.gitignore text eol=LF +.gitattributes text eol=LF + +# 编译规则相关 +*.mk text eol=LF +Makefile text eol=LF + +# Windows 批处理文件需要以CRLF结尾 +*.bat text eol=CRLF + +# CubeMX 配置文件相关 +*.ioc text eol=LF \ No newline at end of file