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.
This commit is contained in:
jiangnan 2026-03-06 05:08:48 +08:00
parent 53feda4d4e
commit f2449908cd

5
.gitattributes vendored Normal file
View File

@ -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