From b33ff5f1fa86a8989ef1be65fd636b0458c0e9d1 Mon Sep 17 00:00:00 2001 From: ertopogo Date: Wed, 26 Nov 2025 19:52:23 +0100 Subject: Chore: Normalisation des fin de ligne (LF) via .gittattributs --- .gitattributes | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitattributes (limited to '.gitattributes') diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..ee0e0c9 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,20 @@ +# Normaliser les fins de ligne sur LF (standard Git/Linux) +# Cela assure que quel que soit l'OS (Windows/Linux), les fichiers sont stockés en LF dans le dépôt +# Et Git gère la conversion automatiquement si besoin + +* text=auto eol=lf + +# Fichiers spécifiques Windows qui doivent garder CRLF (optionnel, mais souvent mieux en LF aussi pour git) +# *.bat text eol=crlf +# *.cmd text eol=crlf +# *.ps1 text eol=lf + +# Fichiers binaires (ne pas toucher aux fins de ligne) +*.exe binary +*.dll binary +*.so binary +*.jpg binary +*.png binary +*.gif binary +*.ico binary + -- cgit v1.2.3