Skip to content

Worktrees don't show up when opening repo in worktree directly #314676

@nanbiz

Description

@nanbiz

Type: Bug

When I create a worktree project, it should show all worktrees in the repositories menu. But when I open the folder directly over recents, it doesn't seem to do that. I can only see my current worktree, not the dev one.

The setting "detect worktrees" is enabled.

Image

VS Code version: Code 1.114.0 (e7fb5e9, 2026-04-01T09:27:11Z)
OS version: Windows_NT x64 10.0.26100
Modes:
Remote OS version: Linux x64 4.18.0-553.64.1.el8_10.x86_64
Connection to 'ssh-remote+host123' could not be established

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 5 135U (14 x 2688)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d45 [Intel(R) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=31.0.101.5382 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.8246
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.46GB (13.05GB free)
Process Argv --crash-reporter-id cf002c6b-3b50-4833-80f1-a0992f9f952a
Screen Reader no
VM 0%
Item Value
Remote SSH: host123
OS Linux x64 4.18.0-553.64.1.el8_10.x86_64
CPUs Intel(R) Xeon(R) Gold 6244 CPU @ 3.60GHz (32 x 2098)
Memory (System) 251.05GB (192.91GB free)
VM 0%

Connection to 'ssh-remote+host123' could not be established

Extensions (4)
Extension Author (truncated) Version
copilot-chat Git 0.42.3
remote-ssh ms- 0.122.0
cpptools ms- 1.32.2
errorlens use 3.28.0
A/B Experiments
vsliv368cf:30146710
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
82j33506:31327384
6abeh943:31336334
envsactivate1:31505457
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_c_966_ss:31454199
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
ia-use-proxy-models-svc:31452481
e9c30283:31461165
test_treatment2:31471001
ts_provider_disabled:31458191
idci7584:31464702
e3e4d672:31494082
ei9d7968:31496641
nes-extended-on:31455476
chat:31457767
8hig5102:31480529
7e187181:31503455
i2gc6536:31499202
ghj88844:31499326
23c7c724:31491644
ddid_t:31478206
getcmakediagnosticson:31489824
cp_cls_c_1082:31504161
logging_enabled_new:31498466
db5d2638:31499441
852d2892:31506239
748c7209:31497895
ha629193:31508444

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions