diff options
| author | ertopogo <erwin.t.pombett@gmail.com> | 2025-11-26 19:52:23 +0100 |
|---|---|---|
| committer | ertopogo <erwin.t.pombett@gmail.com> | 2025-11-26 19:52:23 +0100 |
| commit | b33ff5f1fa86a8989ef1be65fd636b0458c0e9d1 (patch) | |
| tree | 8fe8eb9e67450e27c62a0903c8175cecf1f7c50a /.gitattributes | |
| parent | 65c3cd080d112ad92aa6399c8c6c8090ccec90cb (diff) | |
Chore: Normalisation des fin de ligne (LF) via .gittattributsmain
Diffstat (limited to '.gitattributes')
| -rw-r--r-- | .gitattributes | 20 |
1 files changed, 20 insertions, 0 deletions
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 + |
