From 013b55e97ec43cdfee2f4a8a7da56f628f573f96 Mon Sep 17 00:00:00 2001 From: uncle6me-web Date: Thu, 25 Jun 2026 19:42:05 +0800 Subject: [PATCH] =?UTF-8?q?chore(gitignore):=20=E6=8E=92=E9=99=A4=20D1=20?= =?UTF-8?q?=E5=82=99=E4=BB=BD/=E5=8C=AF=E5=87=BA=20*.sql=EF=BC=88=E5=90=AB?= =?UTF-8?q?=E6=95=B4=E5=BA=AB=E5=85=A8=E9=87=8F=E8=B3=87=E6=96=99=3D?= =?UTF-8?q?=E6=A9=9F=E6=95=8F=EF=BC=8C=E9=98=B2=E8=AA=A4=20commit=EF=BC=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit issue #3 官方庫誤寫清理時 wrangler d1 export 出 45MB 整庫快照, 發現 .gitignore 沒排除 .sql → 隱患:D1 匯出含全量資料若忘刪可能誤 commit。 補 *.sql / backup-*.sql 規則防患。 Co-Authored-By: Claude Opus 4.8 (1M context) --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index f68c125..60c77dd 100644 --- a/.gitignore +++ b/.gitignore @@ -48,3 +48,6 @@ ruvector.db **/.swarm/ **/ruvector.db scripts/__pycache__/ +# D1 備份/匯出(wrangler d1 export 產物,含整庫全量資料=機敏,絕不 commit) +*.sql +backup-*.sql