# git 钩子文件必须保持 LF——autocrlf=true 检出会转 CRLF,bash 执行带 \r 的脚本即崩。 tools/hooks/* text eol=lf # GDScript 一律 LF 检出——.gd 内嵌 r""" golden 字面量逐位对拍吃进 CRLF 即假红(Mac CI 检出 LF 为绿判环境;hooks 例外同款)。 *.gd text eol=lf