Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Normalize shell scripts to LF in .gitattributes (#5997)

Daniel Han0425a3c0a1d6
diff --git a/.gitattributes b/.gitattributes
index 264fdfd02fc..75fba5d6ab6 100644
--- a/.gitattributes
+++ b/.gitattributes
@@ -1,2 +1,7 @@
# Normalize Python files to LF line endings
*.py text eol=lf
+
+# Always check out shell scripts with LF endings. Without this rule a Windows
+# clone (core.autocrlf=true) rewrites them to CRLF, and the trailing \r breaks
+# them when run in WSL/Linux (e.g. `set -e` -> "set: Illegal option -").
+*.sh text eol=lf