From 2d536519a4ba6b4103954d700fb18d023db4ce4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dar=C3=ADo=20Kondratiuk?= Date: Mon, 22 Apr 2019 13:03:42 -0300 Subject: [PATCH] chore(git): Fix line endings in text files (#4320) Although we said on #4315 to add just a comment in the CONTRIBUTING.md file. I think this solution will be better for the repository's health. We could also apply this for `*.js` but it's up to you. This is what I needed to run after I added this file: ``` git rm --cached -r . git reset --hard ``` Fixes #4315 --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000..222aec2e --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Declare files that will always have LF line endings on checkout. +*.txt eol=lf \ No newline at end of file