"git@web.lueluesay.top:chenxi/sub2api.git" did not exist on "095bef9554b0580d4dbbcd79efb2fcdb77f1c652"
Commit 1e1cbbee authored by erio's avatar erio
Browse files

chore: add .gitattributes to enforce LF line endings

Ensures consistent line endings for SQL migration files, Go source,
shell scripts, YAML configs, and Dockerfiles. Fixes checksum mismatches
on Windows where CRLF line endings cause migration hash differences.
parent 39a5b17d
# 确保所有 SQL 迁移文件使用 LF 换行符
backend/migrations/*.sql text eol=lf
# Go 源代码文件
*.go text eol=lf
# Shell 脚本
*.sh text eol=lf
# YAML/YML 配置文件
*.yaml text eol=lf
*.yml text eol=lf
# Dockerfile
Dockerfile text eol=lf
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment