From b5f6ee9808730afd3fc5dd8b06ae0ca09b10c97f Mon Sep 17 00:00:00 2001 From: winklevos Date: Mon, 12 Dec 2022 18:55:12 +1100 Subject: [PATCH] Update git to force LF on * --- .gitattributes | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/.gitattributes b/.gitattributes index e5fc963648..3ad91aa898 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,15 @@ -yarn.lock text eol=lf \ No newline at end of file +# Set the default behavior, in case people don't have core.autocrlf set. +* text=auto + +# Explicitly declare text files you want to always be normalized and converted +# to native line endings on checkout. +# *.c text +# *.h text + +# Declare files that will always have LF line endings on checkout. +*.js text eol=lf +yarn.lock text eol=lf + +# Denote all files that are truly binary and should not be modified. +*.png binary +*.jpg binary \ No newline at end of file