From 943a5a7581762cf6d83358babb88555cdece17d7 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Tue, 19 Nov 2024 00:25:40 +0900 Subject: [PATCH 1/3] chore(.gitattributes): treat .gitignore files as generated --- .gitattributes | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitattributes b/.gitattributes index df186a45..2b11ffdd 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,3 +1,4 @@ * text=auto eol=lf # cspell:ignore lockb *.lockb binary diff=lockb +.gitignore linguist-generated=true From 613aef444eb6904e0a2dd3b0e465a3c6f7556d14 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Tue, 19 Nov 2024 00:26:18 +0900 Subject: [PATCH 2/3] fix(wsl/home/.config/git/.gitignore-sync): remove other os --- wsl/home/.config/git/.gitignore | 52 ---------------------------- wsl/home/.config/git/.gitignore-sync | 2 -- 2 files changed, 54 deletions(-) diff --git a/wsl/home/.config/git/.gitignore b/wsl/home/.config/git/.gitignore index 9059a696..a6d54314 100644 --- a/wsl/home/.config/git/.gitignore +++ b/wsl/home/.config/git/.gitignore @@ -6,58 +6,6 @@ .mise.local.toml mise.local.toml -# 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 - -# 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 - *~ # temporary files which can be created if a process still has a handle open of a deleted file diff --git a/wsl/home/.config/git/.gitignore-sync b/wsl/home/.config/git/.gitignore-sync index 79bfc34c..4960860b 100644 --- a/wsl/home/.config/git/.gitignore-sync +++ b/wsl/home/.config/git/.gitignore-sync @@ -7,7 +7,5 @@ mise.local.toml [github/gitignore] -Global/Windows.gitignore -Global/macOS.gitignore Global/Linux.gitignore Global/VisualStudioCode.gitignore From 4d50a84497613b58f6b3106ebe9e3756a17ad451 Mon Sep 17 00:00:00 2001 From: Risu <79110363+risu729@users.noreply.github.com> Date: Tue, 19 Nov 2024 00:27:57 +0900 Subject: [PATCH 3/3] Revert "fix(wsl/home/.config/git/.gitignore-sync): remove other os" This reverts commit 613aef444eb6904e0a2dd3b0e465a3c6f7556d14. --- wsl/home/.config/git/.gitignore | 52 ++++++++++++++++++++++++++++ wsl/home/.config/git/.gitignore-sync | 2 ++ 2 files changed, 54 insertions(+) diff --git a/wsl/home/.config/git/.gitignore b/wsl/home/.config/git/.gitignore index a6d54314..9059a696 100644 --- a/wsl/home/.config/git/.gitignore +++ b/wsl/home/.config/git/.gitignore @@ -6,6 +6,58 @@ .mise.local.toml mise.local.toml +# 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 + +# 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 + *~ # temporary files which can be created if a process still has a handle open of a deleted file diff --git a/wsl/home/.config/git/.gitignore-sync b/wsl/home/.config/git/.gitignore-sync index 4960860b..79bfc34c 100644 --- a/wsl/home/.config/git/.gitignore-sync +++ b/wsl/home/.config/git/.gitignore-sync @@ -7,5 +7,7 @@ mise.local.toml [github/gitignore] +Global/Windows.gitignore +Global/macOS.gitignore Global/Linux.gitignore Global/VisualStudioCode.gitignore