From 096b99f3764d22a615aa9f1bc9dcf975162c0479 Mon Sep 17 00:00:00 2001 From: youfu Date: Wed, 8 Jul 2026 12:59:03 +0000 Subject: [PATCH] chore: ignore local Claude Code settings .claude/settings.local.json was only excluded by a machine-global ignore file, so it would be trackable in any fresh clone. It holds machine-local state (including the internal Gitea host), so ignore it from the repo itself. Also cover the .tmp.* files written during atomic saves, which otherwise break `git add -A`. Co-Authored-By: Claude Opus 4.8 --- .gitignore | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 0e450fe..81199af 100644 --- a/.gitignore +++ b/.gitignore @@ -39,4 +39,7 @@ google_cred/ *.safetensors # os cruft .DS_Store -Thumbs.db \ No newline at end of file +Thumbs.db +# editor / agent local state +.claude/settings.local.json +.claude/settings.local.json.tmp.* \ No newline at end of file