Skip to content

Worktrees not preserving last selected location #284185

Closed

Description

@jacksen-honey

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.108.0-insider
  • OS Version: OS X 26.1

This is an extension of #283700

Steps to Reproduce:

  1. Create a worktree in a directory other than {project}.workspace
  2. Create another worktree

The issue:

By default it's {project}/{project}.worktrees/{branch}, but if I change it to {project}/{branch} it goes back to suggesting the default path on the new worktree. Before it'd offer to create it in the directory the last tree was created

Activity

  1. jacksen-honey commented on Dec 18, 2025

    @jacksen-honey
    Author
  2. added
    git
    bug
    on Dec 18, 2025
  3. sandstrom commented on Feb 9, 2026

    @sandstrom

    Potentially related: #293884 (config for default worktree pattern/dir)

  4. added
    unreleased
    on Nov 13, 2026
  5. added a commit that references this issue on Nov 13, 2026
    5bd6b95
  6. added
    insiders-released
    and removed
    unreleased
    on Nov 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

buggitinsiders-releasedverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions