diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..c6103779 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,12 @@ +# 添加以下内容来指定特定文件类型的处理方式: +*.txt text +*.cs text +*.lua text +*.json text +*.xml text +*.config text + +# 或者明确指定换行符处理: +*.txt eol=lf +# 或 +*.txt eol=crlf \ No newline at end of file