From 8f88552a85dd19b4dbe45047a2b636305327ae18 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Sat, 16 Jul 2022 08:29:51 -0400 Subject: Add .gitattributes per Godot recommendations The editor reportedly prefers to save files with UNIX line endings. This is in conflict with Git for Windows' tendency to default core.autocrlf to true. For a more consistent editing experience, checkout all text files as EOL = LF. See these discussions for more details: https://github.com/godotengine/godot/pull/42447 https://github.com/godotengine/godot-proposals/issues/897 Signed-off-by: Malfurious --- .gitattributes | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..8ad74f7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,2 @@ +# Normalize EOL for all files that Git considers text files. +* text=auto eol=lf -- cgit v1.2.3