| # =========================== | |
| # .gitattributes for BackgroundFX Pro | |
| # =========================== | |
| # --- Default text handling (normalize line endings) --- | |
| * text=auto eol=lf | |
| # --- Python source (force LF) --- | |
| *.py text eol=lf diff=python | |
| *.pyw text eol=lf diff=python | |
| # --- Configs / metadata --- | |
| *.yml text eol=lf | |
| *.yaml text eol=lf | |
| *.toml text eol=lf | |
| *.ini text eol=lf | |
| *.json text eol=lf | |
| *.md text eol=lf | |
| *.txt text eol=lf | |
| *.dockerignore text eol=lf | |
| *.gitignore text eol=lf | |
| Dockerfile text eol=lf | |
| # --- Shell / scripts --- | |
| *.sh text eol=lf | |
| *.bash text eol=lf | |
| *.bat text eol=crlf | |
| *.cmd text eol=crlf | |
| # --- Images (binary, no diff) --- | |
| *.png binary | |
| *.jpg binary | |
| *.jpeg binary | |
| *.gif binary | |
| *.ico binary | |
| # --- Videos (binary, no diff) --- | |
| *.mp4 binary | |
| *.avi binary | |
| *.mov binary | |
| *.mkv binary | |
| *.webm binary | |
| # --- Models / weights / checkpoints (binary, no diff) --- | |
| *.pth binary | |
| *.pt binary | |
| *.ckpt binary | |
| *.onnx binary | |
| *.safetensors binary | |
| # --- Misc binaries --- | |
| *.pdf binary | |
| *.zip binary | |
| *.tar binary | |
| *.gz binary | |
| *.7z binary | |
| # --- Large files (optional: hook into Git LFS if used) --- | |
| # If you enable Git LFS, uncomment below for heavy assets: | |
| # *.mp4 filter=lfs diff=lfs merge=lfs -text | |
| # *.pth filter=lfs diff=lfs merge=lfs -text | |
| # *.ckpt filter=lfs diff=lfs merge=lfs -text | |