From 1ac1deaeadb5018f6c23209c7f721f2aa2da286d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sybren=20A=2E=20St=C3=BCvel?= Date: Mon, 20 May 2024 19:30:27 +0200 Subject: [PATCH] Document useful git config in gitattributes --- .gitattributes | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.gitattributes b/.gitattributes index 7fddec77..7c88a0a5 100644 --- a/.gitattributes +++ b/.gitattributes @@ -4,6 +4,10 @@ /web/app/src/manager-api/** linguist-generated=true **/*.gen.go linguist-generated=true +# In your Git config, set: +# git config core.eol native +# git config core.autocrlf true + # Set the default newline behavior, in case people don't have core.autocrlf set. * text=auto