Skip to content

Commit 2cfaa8d

Browse files
david-allisonlukstbit
authored andcommitted
chore: support Claude Code worktrees
* gitignore the directory > Add .claude/worktrees/ to your .gitignore so worktree contents don’t appear as untracked files in your main checkout. https://code.claude.com/docs/en/worktrees * copy `local.properties` into Claude Code worktrees https://code.claude.com/docs/en/worktrees#copy-gitignored-files-into-worktrees
1 parent f51ea46 commit 2cfaa8d

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,3 +69,6 @@ hs_err_pid*
6969
# Ignore kotlin 2.0 compiler files (.salive: session-is-alive)
7070
# https://github.com/JetBrains/kotlin/blob/ca34e5d2fd255ed0501bae4fae3d3691dc40d375/libraries/tools/kotlin-gradle-plugin/src/common/kotlin/org/jetbrains/kotlin/compilerRunner/GradleKotlinCompilerRunner.kt#L458
7171
.kotlin/
72+
73+
# Claude Code related
74+
/.claude/worktrees/

.worktreeinclude

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Includes the following files in Claude Code worktrees (gitignore syntax)
2+
# https://code.claude.com/docs/en/worktrees#copy-gitignored-files-into-worktrees
3+
local.properties

0 commit comments

Comments
 (0)