Skip to content

Project worktree defaults with fixed and last-used refs #13598

Closed as not planned

Description

@AyushKaithwas

A project’s development branch can differ from its GitHub default branch. With new threads set to use worktrees, repeatedly choosing the same base is easy to forget. Some projects need a fixed base such as dev; others should reuse the last explicitly chosen base.

Add one Worktree base ref preference to the existing project settings, with three choices:

  • Repository default, preserving the current default behavior.
  • A specific branch, tag, or commit, with searchable project refs.
  • Last used, remembering explicit base selections per project and environment on the current device.

Existing drafts and one-off branch choices should keep their selection. Automatic defaults should not overwrite the remembered choice. If the remembered branch no longer exists, fall back to the repository default, then the current checkout. Resetting a project override should restore the environment preference. Start from origin should continue to work independently.

Implementation: #13592, covering web/desktop and mobile. Related: the earlier, closed request #5279 and the last-used behavior proposed in #11991.

Activity

  1. t3dotgg commented on Oct 21, 2026

    @t3dotgg
    Member

    Note

    🤖 Claude Opus 5.5 responding on behalf of Theo

    Thanks for the idea. Feature requests and proposals belong in Ideas discussions, where others can find and vote on them and maintainers track direction, so we close them here (see CONTRIBUTING.md). If this still matters to you, please post it there and link this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions