From 32914edc147cb76edfec2c1672e9dca32618e3d3 Mon Sep 17 00:00:00 2001 From: Yongmin Hong Date: Sun, 5 May 2024 14:55:46 +0900 Subject: [PATCH] gitignore: update Summary: OS specific gitignore should go here (gotta remove from repo settings) Signed-off-by: Yongmin Hong Test Plan: Verify those files not tracked by `git` Reviewers: O1 revi & code reviewers, revi Reviewed By: O1 revi & code reviewers, revi Differential Revision: https://issuetracker.revi.xyz/D25 --- default.gitignore | 87 +++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 77 insertions(+), 10 deletions(-) diff --git a/default.gitignore b/default.gitignore index c037c41..e3d2951 100644 --- a/default.gitignore +++ b/default.gitignore @@ -1,11 +1,78 @@ -## Windows sucks -.DS_Store -.DS_Store? -._* -.Spotlight-V100 -.Trashes -ehthumbs.db -Thumbs.db +# Created by https://www.toptal.com/developers/gitignore/api/linux,macos,windows +# Edit at https://www.toptal.com/developers/gitignore?templates=linux,macos,windows -## JetBrains -.idea +### Linux ### +*~ + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +### 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 + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + +### macOS Patch ### +# iCloud generated files +*.icloud + +### Windows ### +# Windows thumbnail cache files +Thumbs.db +Thumbs.db:encryptable +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msix +*.msm +*.msp + +# Windows shortcuts +*.lnk + +# End of https://www.toptal.com/developers/gitignore/api/linux,macos,windows