From 4557ee4f531cacf780510c03dd525227c0c0bc8e Mon Sep 17 00:00:00 2001 From: vl Date: Sun, 20 Sep 2026 18:22:00 +0200 Subject: [PATCH] chore: ignore editor swap files A swap file of an ignored file is not itself ignored: .env.swp does not match .env, and vim writes the buffer's contents into it. One was picked up by an earlier commit. Checked before writing this: the captured buffer predates the Authentik credentials and holds only the development Postgres password, which is labelled as such and reachable on 127.0.0.1 only. Nothing real leaked. The repository has no remote yet, so the history can still be scrubbed cheaply if you would rather it were. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_012cSY9pVhZmJUKNN7wf1Myd --- .gitignore | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.gitignore b/.gitignore index 8b6bf90..b14e7ba 100644 --- a/.gitignore +++ b/.gitignore @@ -22,6 +22,12 @@ playwright-report/ .env .env.local .env.*.local +# An editor swap file of an ignored file is NOT itself ignored: .env.swp does +# not match .env, and vim writes the buffer's contents into it. +*.swp +*.swo +*~ +.*.sw[a-p] # database dumps & backups — but never the Prisma migrations, which are source backups/