github / github/app

Improve Multi-Repository Support Without Worktree Dependency

Open
#1,708 0 comments 0 reactions 0 assignees View on GitHub
Feedback mood:happy os:windows Requests and ideas
Dominant language
No language data
Stars
2.1k
Forks
153
PR merge metrics
No merged PRs in 30d

Description

**Mood:** 😊
**Category:** Requests and ideas

It would be useful to provide an option to disable worktree usage when working with local folders. My setup contains a mix of GitHub and Azure DevOps repositories, including both multi-repository and monorepo scenarios.
One possible approach would be to prompt the user to create a branch with the same name across all selected repositories instead of automatically relying on worktrees.
Additionally, when worktrees are used, the agent currently does not create a dedicated folder for each repository under the worktree directory. As a result, repository discovery and search do not work reliably because not all repositories are present in the worktree location. I often need to explicitly tell the agent where to look for specific repositories.
Previously, I manually cloned all repositories required for a task into a single directory, and the search functionality worked much better without any additional guidance. It would be great if the worktree experience could achieve the same level of repository visibility and searchability.

---
| Field | Value |
| --- | --- |
| App version | 1.0.16 |
| Theme | GitHub |
| Path | /chat |

Contributor guide

Open the contributing guide

Research direction

The issue concerns the /chat flow and local multi-repository worktrees. Reproduce a task using GitHub and Azure DevOps repositories, including multi-repository and monorepo setups, then inspect how repositories are placed and discovered in the worktree directory. Done means users can disable worktrees or get repository-specific worktree folders so search sees all repositories, with the branch behavior defined.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, github
Domain
developer-experience, devtools, search
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.