chore: 添加 .gitignore 忽略配置文件
- 忽略操作系统临时文件 (macOS/Windows/Linux) - 忽略编辑器配置文件 - 忽略 Obsidian 配置目录 - 忽略敏感信息和个人草稿
This commit is contained in:
parent
db199c0a3f
commit
e4bec09a74
91
.gitignore
vendored
Normal file
91
.gitignore
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
# macOS
|
||||
.DS_Store
|
||||
.AppleDouble
|
||||
.LSOverride
|
||||
Icon
|
||||
._*
|
||||
.DocumentRevisions-V100
|
||||
.fseventsd
|
||||
.Spotlight-V100
|
||||
.TemporaryItems
|
||||
.Trashes
|
||||
.VolumeIcon.icns
|
||||
.com.apple.timemachine.donotpresent
|
||||
.AppleDB
|
||||
.AppleDesktop
|
||||
Network Trash Folder
|
||||
Temporary Items
|
||||
.apdisk
|
||||
|
||||
# Windows
|
||||
Thumbs.db
|
||||
Thumbs.db:encryptable
|
||||
ehthumbs.db
|
||||
ehthumbs_vista.db
|
||||
*.stackdump
|
||||
[Dd]esktop.ini
|
||||
$RECYCLE.BIN/
|
||||
*.cab
|
||||
*.msi
|
||||
*.msix
|
||||
*.msm
|
||||
*.msp
|
||||
*.lnk
|
||||
|
||||
# Linux
|
||||
*~
|
||||
.fuse_hidden*
|
||||
.directory
|
||||
.Trash-*
|
||||
.nfs*
|
||||
|
||||
# 编辑器和 IDE
|
||||
.vscode/
|
||||
.idea/
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
.project
|
||||
.classpath
|
||||
.settings/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
|
||||
# 临时文件
|
||||
*.tmp
|
||||
*.temp
|
||||
*.bak
|
||||
*.backup
|
||||
*.old
|
||||
*.orig
|
||||
~$*
|
||||
|
||||
# 日志文件
|
||||
*.log
|
||||
logs/
|
||||
*.log.*
|
||||
|
||||
# 敏感信息
|
||||
**/私密/
|
||||
**/private/
|
||||
**/secret/
|
||||
*.key
|
||||
*.pem
|
||||
*.p12
|
||||
*password*
|
||||
*secret*
|
||||
|
||||
# 构建产物
|
||||
dist/
|
||||
build/
|
||||
output/
|
||||
|
||||
# 个人笔记(不提交到仓库)
|
||||
**/个人笔记/
|
||||
**/草稿/
|
||||
**/draft/
|
||||
**/_private/
|
||||
|
||||
# Obsidian
|
||||
.obsidian/
|
||||
.trash/
|
||||
Loading…
Reference in New Issue
Block a user