github / github/app

[Bugs] The GitHub Copilot app doesn't properly read git worktrees.

Open
#1,237 0 comments 0 reactions 0 assignees View on GitHub
Bugs
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

**Mood:** 😔
**Category:** Bugs

The GitHub Copilot app doesn't properly read git worktrees.

My folder structure works as such:
`X:/Projects/{project}` is the repo root.

Then worktrees are under the `X:/Projects/{project}/.worktrees/{worktree}` subfolders.

When I point the GHCP app to the repo root, it doesn't automatically pick up my worktrees and sessions in those worktrees.

---
| Field | Value |
| --- | --- |
| App version | 1.0.1 |
| OS | Windows 10.0.26637 |
| Theme | GitHub |
| Path | / |
| Tenure | Day 4 (Week 1) |

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the GitHub Copilot app on Windows with a repository containing worktrees under .worktrees, then trace how the app discovers repositories and sessions from the selected root. Done means worktrees and their sessions are detected when the repository root is opened, with coverage for the reported folder layout if the project has a suitable test location.

Written by the indexing model from the issue text.

Assessment

Tech stack
git
Domain
desktop, developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.