From bac74f7a99da7f4c7115d4611d470fdb03add5c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Will=20=E4=BF=9D=E5=93=A5?= Date: Mon, 23 Jan 2023 01:58:14 +0800 Subject: [PATCH] Update .gitattributes If I won't keep *.java file as LF newline, I can't run app because I can't pass "io.spring.javaformat:spring-javaformat-maven-plugin:0.0.31:validate" goal when I mount files into container. --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index 4fa96dfe9..21de586dd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1 +1,2 @@ mvnw text eol=lf +*.java text eol=lf