加入 .gitattributes 以強制使用 LF 行尾 補上其它檔案 20250612

This commit is contained in:
allen.yan 2025-06-12 11:08:04 +08:00
parent fa7f69e71e
commit 8c3d72aee6

16
.gitattributes vendored
View File

@ -1,5 +1,15 @@
# 所有 Shell 腳本用 LF
*.sh text eol=lf
*.yml text eol=lf
*.yaml text eol=lf
*.env text eol=lf
# Docker 設定與腳本
Dockerfile text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
# Laravel & PHP 設定檔
*.conf text eol=lf
*.ini text eol=lf
.env* text eol=lf
# 其他你專案內的自定義目錄內腳本
docker/** text eol=lf