From b286cb01378bf94c0c83479b36066dbf30d466aa Mon Sep 17 00:00:00 2001 From: Ubuntu Date: Thu, 27 Aug 2026 02:08:12 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=BF=BD=E7=95=A5=20Office=20?= =?UTF-8?q?=E6=96=87=E6=A1=A3=E4=B8=8E=E8=99=9A=E6=8B=9F=E7=8E=AF=E5=A2=83?= =?UTF-8?q?=E7=9B=AE=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 手续费.xlsx 一类文件放在仓库旁但不属于仓库;~$ 开头的是 Excel 打开工作簿 时生成的锁文件,每次都会重新出现并占据 git status。 .venv 一并声明:venv 自 3.11 起会在它创建的目录内写 .gitignore,但仅覆盖 该目录,换个位置或用旧版本就失效。 Co-authored-by: Cursor --- .gitignore | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.gitignore b/.gitignore index 389de8a..d24d9e8 100644 --- a/.gitignore +++ b/.gitignore @@ -15,8 +15,19 @@ __pycache__/ *.sqlite-shm *.sqlite-wal +# Office documents kept alongside the repo but not part of it. +# "~$" files are Excel's lock files, recreated every time a workbook is opened. +*.xlsx +*.xls +~$* + # Local data data/ +# Virtualenvs. venv writes its own .gitignore since 3.11, but only for the +# directory it creates — declare it here so other layouts are covered too. +.venv/ +venv/ + # Local tooling .gstack/