From e1a80f18a076c3902cbd2caa35c5800a273ab666 Mon Sep 17 00:00:00 2001 From: Felipe Cardoso Date: Fri, 14 Feb 2025 11:14:32 +0100 Subject: [PATCH] Add .gitignore to exclude unnecessary files The .gitignore file excludes IDE-specific, system-generated, temporary, and backup files, as well as common unwanted formats. It ensures cleaner version control by including only relevant project files while ignoring clutter. --- .gitignore | 75 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 75 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..1dea202 --- /dev/null +++ b/.gitignore @@ -0,0 +1,75 @@ +# Ignore IntelliJ IDEA project-specific files +.idea/ +*.iml +*.iws + +# Ignore OS generated files +.DS_Store +.DS_Store? +Thumbs.db +ehthumbs.db +Desktop.ini + +# Ignore temporary files +*.tmp +*.swp +*.swo +*.bak +*.orig + +# Ignore hidden system files +.*.s[a-v][a-z] +.*un~ +$RECYCLE.BIN/ + +# Ignore logs and runtime files +*.log +*.pid +*.seed +*.gz + +# Ignore clutter generated by markdown previews/editors +*.markdown-tmp +.markdown-cache/ + +# Ignore common backup files +*.~* +*.save +*~ + +# Ignore unnecessary files for compressed formats (if extracting archives is needed) +*.zip +*.tar +*.tar.gz +*.rar + +# Ignore image editor temp files (if images are modified) +*.xcf~ +*.psd~ + +# Ignore binary thumbnails or preview files (if editors generate them) +*.thumbs + +# Ignore files specific to versioning history outside Git +*.orig + +# Include images, documents, and markdown explicitly (so they're not accidentally excluded) +!*.md +!*.markdown +!*.png +!*.jpg +!*.jpeg +!*.gif +!*.pdf +!*.doc +!*.docx +!*.ppt +!*.pptx +!*.xls +!*.xlsx +!*.odt + +# Ensure backup or runtime-related folders are ignored (user-configurable) +backup/ +temp/ +generated/ \ No newline at end of file