From c0067e8774db9b618a53abb3861b398f1e87b01d Mon Sep 17 00:00:00 2001 From: LuChiChick <1084116302@qq.com> Date: Mon, 3 Aug 2026 19:26:34 +0800 Subject: [PATCH] commit for .gitattributes rules. --- .gitattributes | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .gitattributes 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