From b1fe7c2367c05ac1b2a8cd23be22c9e562d8ebcb Mon Sep 17 00:00:00 2001 From: "Oliver Surke (Gitea)" Date: Mon, 11 May 2026 21:21:27 +0200 Subject: [PATCH] chore: update .gitignore for macOS and Visual Studio Code Expanded .gitignore to include additional macOS and Visual Studio Code entries, improving the exclusion of unnecessary files. Added rules for iCloud files, local history, and built extensions, while retaining essential configuration files. Cleaned up legacy entries and ensured custom rules are preserved. --- .gitignore | 66 +++++++++++++++++++++++++++++++++++++++++++++--------- 1 file changed, 55 insertions(+), 11 deletions(-) diff --git a/.gitignore b/.gitignore index 6e44544..315d92e 100644 --- a/.gitignore +++ b/.gitignore @@ -1,18 +1,62 @@ -# macOS noise +# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig +# Created by https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode +# Edit at https://www.toptal.com/developers/gitignore?templates=macos,visualstudiocode + +### macOS ### +# General .DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + + +# Thumbnails ._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd .Spotlight-V100 +.TemporaryItems .Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent -# User-local state (never commit) -.local/ -.config/ -*.log +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk -# Editor / IDE -.idea/ -.vscode/ -.cursor/ +### macOS Patch ### +# iCloud generated files +*.icloud + +### Cursor ### +.cursor/* +### VisualStudioCode ### +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Local History for Visual Studio Code +.history/ + +# Built Visual Studio Code Extensions +*.vsix + +### VisualStudioCode Patch ### +# Ignore all local history of files +.history +.ionide + +# End of https://www.toptal.com/developers/gitignore/api/macos,visualstudiocode + +# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option) -# User-rendered launchd plist (template lives in launchd/) -*.plist.local