From f2449908cddaf67ee5e59af572cff1074a0b893b Mon Sep 17 00:00:00 2001 From: jiangnan <1394485448@qq.com> Date: Fri, 6 Mar 2026 05:08:48 +0800 Subject: [PATCH] Add .gitattributes to enforce LF line endings Prevents CRLF line endings from being committed on Windows, which can break frontmatter parsing in agent markdown files. --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..e2bbbd7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +# Ensure consistent line endings across platforms +*.md text eol=lf +*.yml text eol=lf +*.yaml text eol=lf +*.sh text eol=lf