From decb8076c21e6f1eca7e199bd091fc78bd5eb08b Mon Sep 17 00:00:00 2001 From: Albumen Kevin Date: Mon, 1 Mar 2021 15:44:41 +0800 Subject: [PATCH] Add gitattributes to prevent file formatting (#7293) --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000000..bb5d205725 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,4 @@ +# Git will understand that all files specified are not text, +# and it should not try to change them. +# This will prevent file formatting (such as `crlf` endings to `lf` endings) while commit. +* -text \ No newline at end of file