# 默认所有文本文件使用 Windows 换行符 * text=auto eol=crlf # server 文件夹下所有文件使用 Linux 换行符 server/** text eol=lf # 特定文件类型明确指定 *.sh text eol=lf *.bash text eol=lf