From e4bec09a7415f1f8a0f27f6971ae7480de271a6d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E5=BF=97=E9=91=AB?= Date: Wed, 21 Jan 2026 10:37:47 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E6=B7=BB=E5=8A=A0=20.gitignore=20?= =?UTF-8?q?=E5=BF=BD=E7=95=A5=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 忽略操作系统临时文件 (macOS/Windows/Linux) - 忽略编辑器配置文件 - 忽略 Obsidian 配置目录 - 忽略敏感信息和个人草稿 --- .gitignore | 91 ++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 91 insertions(+) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..191c75e --- /dev/null +++ b/.gitignore @@ -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/