From 5d998513aaf44e171bd0bba6514047c99423c597 Mon Sep 17 00:00:00 2001 From: emredursun Date: Wed, 8 Apr 2026 16:47:17 +0200 Subject: [PATCH 1/2] chore: track .claude/commands/ in Kit repo for worktree support Migrate .claude/ to .claude/* glob pattern and add !.claude/commands/ negation so bridge files are available in git worktrees. Settings, plans, and worktree metadata remain gitignored. --- .gitignore | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 3fa6bf4..b22c678 100644 --- a/.gitignore +++ b/.gitignore @@ -8,7 +8,7 @@ Thumbs.db # IDE .idea/ .vscode/ -.claude/ +.claude/* .cursor/ .opencode/ .codex/ @@ -40,3 +40,5 @@ docs/archives/ # These MUST NOT be committed — they are intermediate data that should be processed in memory .agent/pr-* .agent/review-* + +!.claude/commands/ From 29a15c17536c9aaf825926835c557ad0db1b7513 Mon Sep 17 00:00:00 2001 From: emredursun Date: Wed, 8 Apr 2026 16:51:37 +0200 Subject: [PATCH 2/2] fix: apply worktree-safe gitignore to all IDE bridge directories - Extend /* + !/commands/ pattern to .cursor/ and .opencode/ - Place negation rules adjacent to their ignore patterns for readability - Addresses gemini-code-assist review on PR #19 --- .gitignore | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.gitignore b/.gitignore index b22c678..ce76073 100644 --- a/.gitignore +++ b/.gitignore @@ -9,8 +9,11 @@ Thumbs.db .idea/ .vscode/ .claude/* -.cursor/ -.opencode/ +!.claude/commands/ +.cursor/* +!.cursor/commands/ +.opencode/* +!.opencode/commands/ .codex/ *.swp *.swo @@ -40,5 +43,3 @@ docs/archives/ # These MUST NOT be committed — they are intermediate data that should be processed in memory .agent/pr-* .agent/review-* - -!.claude/commands/