From d9263c2e9eefa61eb206af7ecaa4600e7f5e340e Mon Sep 17 00:00:00 2001 From: jabsatz Date: Fri, 22 Nov 2024 19:40:36 +0100 Subject: [PATCH] add git attributes --- .gitattributes | 8 ++++++++ .gitignore | 17 +++++++++++++++-- 2 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .gitattributes diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..420d974 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,8 @@ +# Normalize line endings for all files that Git considers text files. +* text=auto eol=lf + +# Only include the addons folder when downloading from the Asset Library. +/** export-ignore +/addons !export-ignore +/addons/scene_manager !export-ignore +/addons/scene_manager/** !export-ignore \ No newline at end of file diff --git a/.gitignore b/.gitignore index 630b1bf..0035ad6 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,15 @@ -.import -.godot \ No newline at end of file +# Godot 4+ specific ignores +.godot/ + +# Godot-specific ignores +.import/ +export.cfg +export_presets.cfg + +# Imported translations (automatically generated from CSV files) +*.translation + +# Mono-specific ignores +.mono/ +data_*/ +mono_crash.*.json \ No newline at end of file