Pre-submit Checks
Describe the bug
When I create a new worktree using Claude Code with the command claude --worktree, it creates a worktree in the directory <project>/.claude/worktree/<worktree>. This configuration cannot be changed — it’s a default behavior of Claude Code.
Automatically, this creates a worktree directory and a new branch with the same name. However, the metadata is not updated for the current worktree as shown in Warp, such as:
- Branch name
- PR
- View changes
Everything remains the same as in the project root, which would be <project>/.
This needs to be fixed, as I use claude --worktree a lot, especially to quickly create disposable worktrees.
To reproduce
- I enter the project
<project>/
- In the terminal, I run the command
claude --worktree <worktree-name>
- It opens Claude Code inside the worktree at the path
<project>/.claude/worktree/<worktree-name>
Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
Windows
Operating system and version
11
Shell Version
PowerShell 7
Current Warp version
v0.2026.04.29.08.57.stable_01
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
Pre-submit Checks
Describe the bug
When I create a new worktree using Claude Code with the command
claude --worktree, it creates a worktree in the directory<project>/.claude/worktree/<worktree>. This configuration cannot be changed — it’s a default behavior of Claude Code.Automatically, this creates a worktree directory and a new branch with the same name. However, the metadata is not updated for the current worktree as shown in Warp, such as:
Everything remains the same as in the project root, which would be
<project>/.This needs to be fixed, as I use
claude --worktreea lot, especially to quickly create disposable worktrees.To reproduce
<project>/claude --worktree <worktree-name><project>/.claude/worktree/<worktree-name>Expected behavior
No response
Screenshots, videos, and logs
No response
Operating system (OS)
Windows
Operating system and version
11
Shell Version
PowerShell 7
Current Warp version
v0.2026.04.29.08.57.stable_01
Regression
No, this bug or issue has existed throughout my experience using Warp
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this an issue only in Warp?
Yes, I confirmed that this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None