[1] 발견한 이슈

[2] .gitattribute 파일 작성

# ================================
# Linux/Unix (반드시 LF)
# ================================
*.sh text eol=lf
*.bash text eol=lf
*.zsh text eol=lf

# Docker
Dockerfile text eol=lf
*.dockerfile text eol=lf
.dockerignore text eol=lf
docker-compose*.yml text eol=lf

# Git hooks (확장자 없는 경우가 많음)
.husky/* text eol=lf

# Makefile
Makefile text eol=lf
*.mk text eol=lf

# Python (shebang 사용 시)
*.py text eol=lf

# Node.js
.nvmrc text eol=lf

# ================================
# Windows (반드시 CRLF)
# ================================
*.bat text eol=crlf
*.cmd text eol=crlf
*.ps1 text eol=crlf
*.nsi text eol=crlf
*.nsh text eol=crlf
*.reg text eol=crlf

# Visual Studio
*.sln text eol=crlf
*.vcxproj text eol=crlf

# ================================
# 기본값
# ================================
* text=auto

[3] .gitattributes 규칙 갱신하면서 커밋

git rm --cached -r .
git reset --hard
git add .
git commit -m "Normalize CRLF/LF"

⭐ 커밋된 .gitattributes 기준으로 LF/CRLF 일괄 적용하기

git rm --cached -r .
git reset --hard