From 1838758ff327ffe37282cfbbaeac4512cfa51eb0 Mon Sep 17 00:00:00 2001 From: Joel Marcey Date: Thu, 3 May 2018 12:48:23 -0700 Subject: [PATCH] Ignore binaries when it comes to lineendings https://help.github.com/articles/dealing-with-line-endings/#example --- .gitattributes | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/.gitattributes b/.gitattributes index 130805ef85..d8b18afa7c 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,28 @@ # Auto detect text files and perform LF normalization * text=auto * text eol=lf + +# Don't do anything with binaries +*.png binary +*.jpg binary +*.svg binary +*.jpeg binary +*.gif binary +*.ico binary +*.mov binary +*.mp4 binary +*.mp3 binary +*.flv binary +*.fla binary +*.swf binary +*.gz binary +*.zip binary +*.7z binary +*.ttf binary +*.eot binary +*.woff binary +*.pyc binary +*.pdf binary +*.ez binary +*.bz2 binary +*.swp binary