summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2020-04-09 14:03:47 +0200
committerGravatar GitHub <noreply@github.com> 2020-04-09 14:03:47 +0200
commitf29b63df3b8b8e909208094446b2e79145ec50e6 (patch)
treec2db58fe0bd1ee7f3c381dbc93010a080c247bcc
parentde882dad4348ea410d7857ab079161f1085d4c59 (diff)
gitattributes (#2879)
https://www.git-scm.com/docs/gitattributes Disable automatic end-of-line conversion from Unix to Windows. We do not have any file type in the project that is sensitive to line ending (e.g. PHP works fine on Windows with Linux line endings), but the automatic conversion makes it annoying to work on the same git local repository from different systems (e.g. hybrid Linux / Windows development)
-rw-r--r--.gitattributes1
1 files changed, 1 insertions, 0 deletions
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 000000000..6313b56c5
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf