Skip to content

Feature Request: Option to disable automatic worktree creation in Claude app Code tab #27971

Description

@i16i16

When using the Claude Code tab in the Claude desktop app, a worktree branch (e.g. claude/happy-grothendieck) is automatically created. This means commits go to the worktree branch, not main, and session logs/work don't persist on the main branch without an explicit merge step.

Request: Add a per-project setting (e.g. in .claude/settings.json) or a UI option to opt out of automatic worktree creation and work directly on the current branch.

Use case: Personal project management workflows where session logs and task files should accumulate on main without a separate merge step.

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions