From 5da435732ac15d7a82f6297d34cb5dcdede8b721 Mon Sep 17 00:00:00 2001 From: Anton Maklakov Date: Fri, 20 Jul 2018 12:05:42 +0800 Subject: [PATCH] Add .gitattributes to force normalize EOLs if core.autocrlf didn't set All text files force to LF. To find special non-text files to add them filter you can use git ls-tree --name-only -r HEAD | xargs file -N | grep -v text --- .gitattributes | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..2117792757 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,5 @@ +* text eol=lf + +*.png binary +*.bin binary +*.elf binary