chore: update .gitignore for macos & win

This commit is contained in:
张泊明518370910136 2024-03-08 18:39:08 -05:00
parent a55eb04780
commit df264c2bf3
GPG Key ID: D47306D7062CDA9D

65
.gitignore vendored
View File

@ -1,6 +1,6 @@
# File created using '.gitignore Generator' for Visual Studio Code: https://bit.ly/vscode-gig
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,go
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,linux,go
# Created by https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,go,macos,windows
# Edit at https://www.toptal.com/developers/gitignore?templates=visualstudiocode,linux,go,macos,windows
### Go ###
# If you prefer the allow list template instead of the deny list, see community template:
@ -40,6 +40,39 @@ go.work
# .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
### VisualStudioCode ###
.vscode/*
!.vscode/settings.json
@ -59,7 +92,33 @@ go.work
.history
.ionide
# End of https://www.toptal.com/developers/gitignore/api/visualstudiocode,linux,go
### 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/visualstudiocode,linux,go,macos,windows
# Custom rules (everything added below won't be overriden by 'Generate .gitignore File' if you use 'Update' option)